Class: ActivityPub::Projects::ReleasesSubscriptionService
- Inherits:
-
Object
- Object
- ActivityPub::Projects::ReleasesSubscriptionService
- Defined in:
- app/services/activity_pub/projects/releases_subscription_service.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
Instance Method Summary collapse
- #execute ⇒ Object
-
#initialize(project, payload) ⇒ ReleasesSubscriptionService
constructor
A new instance of ReleasesSubscriptionService.
Constructor Details
#initialize(project, payload) ⇒ ReleasesSubscriptionService
Returns a new instance of ReleasesSubscriptionService.
8 9 10 11 12 |
# File 'app/services/activity_pub/projects/releases_subscription_service.rb', line 8 def initialize(project, payload) @project = project @payload = payload @errors = [] end |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
6 7 8 |
# File 'app/services/activity_pub/projects/releases_subscription_service.rb', line 6 def errors @errors end |
Instance Method Details
#execute ⇒ Object
14 15 16 |
# File 'app/services/activity_pub/projects/releases_subscription_service.rb', line 14 def execute raise "not implemented: abstract class, do not use directly." end |