Class: SystemNotes::BaseService
- Inherits:
-
Object
- Object
- SystemNotes::BaseService
- Defined in:
- app/services/system_notes/base_service.rb
Direct Known Subclasses
AlertManagementService, CommitService, DesignManagementService, IncidentService, IncidentsService, IssuablesService, MergeRequestsService, TimeTrackingService, ZoomService
Instance Attribute Summary collapse
-
#author ⇒ Object
readonly
Returns the value of attribute author.
-
#noteable ⇒ Object
readonly
Returns the value of attribute noteable.
-
#project ⇒ Object
readonly
Returns the value of attribute project.
Instance Method Summary collapse
-
#initialize(noteable: nil, author: nil, project: nil) ⇒ BaseService
constructor
A new instance of BaseService.
Constructor Details
#initialize(noteable: nil, author: nil, project: nil) ⇒ BaseService
Returns a new instance of BaseService.
7 8 9 10 11 |
# File 'app/services/system_notes/base_service.rb', line 7 def initialize(noteable: nil, author: nil, project: nil) @noteable = noteable @project = project @author = end |
Instance Attribute Details
#author ⇒ Object (readonly)
Returns the value of attribute author.
5 6 7 |
# File 'app/services/system_notes/base_service.rb', line 5 def @author end |
#noteable ⇒ Object (readonly)
Returns the value of attribute noteable.
5 6 7 |
# File 'app/services/system_notes/base_service.rb', line 5 def noteable @noteable end |
#project ⇒ Object (readonly)
Returns the value of attribute project.
5 6 7 |
# File 'app/services/system_notes/base_service.rb', line 5 def project @project end |