Class: Rumblr::RegularPost
Constant Summary
Constants inherited from Post
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#title ⇒ Object
Returns the value of attribute title.
Attributes inherited from Post
#date, #date_gmt, #id, #private, #tags, #tumblelog, #type, #unix_timestamp, #url
Instance Method Summary collapse
Methods inherited from Post
#initialize, #private?, #public?
Methods inherited from Resource
Constructor Details
This class inherits a constructor from Rumblr::Post
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body.
40 41 42 |
# File 'lib/rumblr/post.rb', line 40 def body @body end |
#title ⇒ Object
Returns the value of attribute title.
40 41 42 |
# File 'lib/rumblr/post.rb', line 40 def title @title end |
Instance Method Details
#attribute_hash ⇒ Object
42 43 44 |
# File 'lib/rumblr/post.rb', line 42 def attribute_hash super.merge(:title => title, :body => body) end |