debian-mirror-gitlab/app/models/project_services/mock_deployment_service.rb

19 lines
264 B
Ruby
Raw Normal View History

2017-08-17 22:00:37 +05:30
class MockDeploymentService < DeploymentService
def title
'Mock deployment'
end
def description
'Mock deployment service'
end
def self.to_param
'mock_deployment'
end
# No terminals support
def terminals(environment)
[]
end
end