Class: Commits::ChangeService
- Inherits:
-
CreateService
- Object
- BaseService
- CreateService
- Commits::ChangeService
- Defined in:
- app/services/commits/change_service.rb
Direct Known Subclasses
Constant Summary
Constants inherited from CreateService
Commits::CreateService::ValidationError
Instance Attribute Summary
Attributes inherited from BaseService
#current_user, #params, #project
Instance Method Summary collapse
- #commit_message ⇒ Object
-
#initialize(*args) ⇒ ChangeService
constructor
A new instance of ChangeService.
Methods inherited from CreateService
Methods included from BaseServiceUtility
#deny_visibility_level, #event_service, #log_error, #log_info, #notification_service, #system_hook_service, #todo_service, #visibility_level
Methods included from Gitlab::Allowable
Constructor Details
#initialize(*args) ⇒ ChangeService
Returns a new instance of ChangeService.
5 6 7 8 9 10 |
# File 'app/services/commits/change_service.rb', line 5 def initialize(*args) super @commit = params[:commit] @message = params[:message] end |
Instance Method Details
#commit_message ⇒ Object
12 13 14 |
# File 'app/services/commits/change_service.rb', line 12 def raise NotImplementedError end |