Class: Rumblr::LinkPost
Constant Summary
Constants inherited from Post
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#name ⇒ Object
Returns the value of attribute name.
-
#url ⇒ Object
Returns the value of attribute url.
Attributes inherited from Post
#date, #date_gmt, #id, #private, #tags, #tumblelog, #type, #unix_timestamp
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
#description ⇒ Object
Returns the value of attribute description.
67 68 69 |
# File 'lib/rumblr/post.rb', line 67 def description @description end |
#name ⇒ Object
Returns the value of attribute name.
67 68 69 |
# File 'lib/rumblr/post.rb', line 67 def name @name end |
#url ⇒ Object
Returns the value of attribute url.
67 68 69 |
# File 'lib/rumblr/post.rb', line 67 def url @url end |
Instance Method Details
#attribute_hash ⇒ Object
69 70 71 |
# File 'lib/rumblr/post.rb', line 69 def attribute_hash super.merge(:name => name, :url => url, :description => description) end |