Class: Tumblr4r::Link
Instance Attribute Summary collapse
-
#link_description ⇒ Object
Returns the value of attribute link_description.
-
#link_text ⇒ Object
Returns the value of attribute link_text.
-
#link_url ⇒ Object
Returns the value of attribute link_url.
Attributes inherited from Post
#bookmarklet, #date, #date_gmt, #format, #generator, #post_id, #private, #tags, #type, #unix_timestamp, #url, #url_with_slug
Instance Method Summary collapse
Methods inherited from Post
Constructor Details
This class inherits a constructor from Tumblr4r::Post
Instance Attribute Details
#link_description ⇒ Object
Returns the value of attribute link_description.
237 238 239 |
# File 'lib/tumblr4r.rb', line 237 def link_description @link_description end |
#link_text ⇒ Object
Returns the value of attribute link_text.
237 238 239 |
# File 'lib/tumblr4r.rb', line 237 def link_text @link_text end |
#link_url ⇒ Object
Returns the value of attribute link_url.
237 238 239 |
# File 'lib/tumblr4r.rb', line 237 def link_url @link_url end |
Instance Method Details
#params ⇒ Object
238 239 240 241 242 243 |
# File 'lib/tumblr4r.rb', line 238 def params super.merge!( {"name" => @link_text, "url" => @link_url, "description" => @link_description}) end |