Class: Rumblr::QuotePost
Constant Summary
Constants inherited from Post
Instance Attribute Summary collapse
-
#quote ⇒ Object
Returns the value of attribute quote.
-
#source ⇒ Object
Returns the value of attribute source.
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
#quote ⇒ Object
Returns the value of attribute quote.
58 59 60 |
# File 'lib/rumblr/post.rb', line 58 def quote @quote end |
#source ⇒ Object
Returns the value of attribute source.
58 59 60 |
# File 'lib/rumblr/post.rb', line 58 def source @source end |
Instance Method Details
#attribute_hash ⇒ Object
60 61 62 |
# File 'lib/rumblr/post.rb', line 60 def attribute_hash super.merge(:quote => quote, :source => source) end |