Class: DeployKeys::CreateService
- Inherits:
-
Keys::BaseService
- Object
- Keys::BaseService
- DeployKeys::CreateService
- Defined in:
- app/services/deploy_keys/create_service.rb
Instance Attribute Summary
Attributes inherited from Keys::BaseService
Instance Method Summary collapse
Methods inherited from Keys::BaseService
#initialize, #notification_service, #todo_service
Constructor Details
This class inherits a constructor from Keys::BaseService
Instance Method Details
#execute(project: nil) ⇒ Object
5 6 7 |
# File 'app/services/deploy_keys/create_service.rb', line 5 def execute(project: nil) DeployKey.create(params.merge(user: user)) end |