Class: Rumblr::PhotoPost
Constant Summary
Constants inherited from Post
Instance Attribute Summary collapse
-
#caption ⇒ Object
Returns the value of attribute caption.
-
#click_through_url ⇒ Object
Returns the value of attribute click_through_url.
-
#data ⇒ Object
Returns the value of attribute data.
-
#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
#caption ⇒ Object
Returns the value of attribute caption.
49 50 51 |
# File 'lib/rumblr/post.rb', line 49 def @caption end |
#click_through_url ⇒ Object
Returns the value of attribute click_through_url.
49 50 51 |
# File 'lib/rumblr/post.rb', line 49 def click_through_url @click_through_url end |
#data ⇒ Object
Returns the value of attribute data.
49 50 51 |
# File 'lib/rumblr/post.rb', line 49 def data @data end |
#source ⇒ Object
Returns the value of attribute source.
49 50 51 |
# File 'lib/rumblr/post.rb', line 49 def source @source end |
Instance Method Details
#attribute_hash ⇒ Object
51 52 53 |
# File 'lib/rumblr/post.rb', line 51 def attribute_hash super.merge(:source => source, :data => data, :caption => , :click_through_url => click_through_url) end |