Class: Pinnable::AddComment
- Inherits:
-
Object
- Object
- Pinnable::AddComment
- Defined in:
- app/services/pinnable/add_comment.rb
Overview
Appends a reply to a pin, stamping the author’s display label like CapturePin does.
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(pin:, author:, params:) ⇒ AddComment
constructor
A new instance of AddComment.
Constructor Details
#initialize(pin:, author:, params:) ⇒ AddComment
Returns a new instance of AddComment.
4 5 6 7 8 |
# File 'app/services/pinnable/add_comment.rb', line 4 def initialize(pin:, author:, params:) @pin = pin @author = @params = params end |