Class: Tumblr4r::Answer
Instance Attribute Summary collapse
-
#answer ⇒ Object
Returns the value of attribute answer.
-
#question ⇒ Object
Returns the value of attribute question.
Attributes inherited from Post
#bookmarklet, #date, #date_gmt, #format, #generator, #liked, #post_id, #private, #reblog_key, #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
#answer ⇒ Object
Returns the value of attribute answer.
366 367 368 |
# File 'lib/tumblr4r.rb', line 366 def answer @answer end |
#question ⇒ Object
Returns the value of attribute question.
366 367 368 |
# File 'lib/tumblr4r.rb', line 366 def question @question end |
Instance Method Details
#params ⇒ Object
368 369 370 |
# File 'lib/tumblr4r.rb', line 368 def params super.merge!({"question" => @question, "answer" => @answer}) end |