Class: Tracky::Comment
Constant Summary
Constants inherited from BaseAPI
Instance Attribute Summary collapse
-
#content ⇒ Object
Returns the value of attribute content.
-
#id ⇒ Object
Returns the value of attribute id.
Instance Method Summary collapse
-
#save ⇒ Object
If there’s an ID, update comment by the ID else just create the new one.
Methods inherited from BaseAPI
Instance Attribute Details
#content ⇒ Object
Returns the value of attribute content.
3 4 5 |
# File 'lib/tracky/comment.rb', line 3 def content @content end |
#id ⇒ Object
Returns the value of attribute id.
3 4 5 |
# File 'lib/tracky/comment.rb', line 3 def id @id end |
Instance Method Details
#save ⇒ Object
If there’s an ID, update comment by the ID else just create the new one
7 8 9 |
# File 'lib/tracky/comment.rb', line 7 def save #code end |