Class: Brio::Resources::Post
- Defined in:
- lib/brio/resources/post.rb
Instance Attribute Summary collapse
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#id ⇒ Object
Returns the value of attribute id.
-
#num_replies ⇒ Object
Returns the value of attribute num_replies.
-
#num_reposts ⇒ Object
Returns the value of attribute num_reposts.
-
#num_stars ⇒ Object
Returns the value of attribute num_stars.
-
#reply_to ⇒ Object
Returns the value of attribute reply_to.
-
#repost_of ⇒ Object
Returns the value of attribute repost_of.
-
#text ⇒ Object
Returns the value of attribute text.
-
#user ⇒ Object
Returns the value of attribute user.
Method Summary
Methods inherited from Resource
Constructor Details
This class inherits a constructor from Brio::Resources::Resource
Instance Attribute Details
#created_at ⇒ Object
Returns the value of attribute created_at.
5 6 7 |
# File 'lib/brio/resources/post.rb', line 5 def created_at @created_at end |
#id ⇒ Object
Returns the value of attribute id.
5 6 7 |
# File 'lib/brio/resources/post.rb', line 5 def id @id end |
#num_replies ⇒ Object
Returns the value of attribute num_replies.
5 6 7 |
# File 'lib/brio/resources/post.rb', line 5 def num_replies @num_replies end |
#num_reposts ⇒ Object
Returns the value of attribute num_reposts.
5 6 7 |
# File 'lib/brio/resources/post.rb', line 5 def num_reposts @num_reposts end |
#num_stars ⇒ Object
Returns the value of attribute num_stars.
5 6 7 |
# File 'lib/brio/resources/post.rb', line 5 def num_stars @num_stars end |
#reply_to ⇒ Object
Returns the value of attribute reply_to.
5 6 7 |
# File 'lib/brio/resources/post.rb', line 5 def reply_to @reply_to end |
#repost_of ⇒ Object
Returns the value of attribute repost_of.
5 6 7 |
# File 'lib/brio/resources/post.rb', line 5 def repost_of @repost_of end |
#text ⇒ Object
Returns the value of attribute text.
5 6 7 |
# File 'lib/brio/resources/post.rb', line 5 def text @text end |
#user ⇒ Object
Returns the value of attribute user.
5 6 7 |
# File 'lib/brio/resources/post.rb', line 5 def user @user end |