Class: Tumblr4r::Audio
Instance Attribute Summary collapse
-
#audio_caption ⇒ Object
Returns the value of attribute audio_caption.
-
#audio_player ⇒ Object
Returns the value of attribute audio_player.
-
#audio_plays ⇒ Object
Returns the value of attribute audio_plays.
-
#data ⇒ Object
Returns the value of attribute data.
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
#audio_caption ⇒ Object
Returns the value of attribute audio_caption.
340 341 342 |
# File 'lib/tumblr4r.rb', line 340 def @audio_caption end |
#audio_player ⇒ Object
Returns the value of attribute audio_player.
340 341 342 |
# File 'lib/tumblr4r.rb', line 340 def audio_player @audio_player end |
#audio_plays ⇒ Object
Returns the value of attribute audio_plays.
340 341 342 |
# File 'lib/tumblr4r.rb', line 340 def audio_plays @audio_plays end |
#data ⇒ Object
Returns the value of attribute data.
341 342 343 |
# File 'lib/tumblr4r.rb', line 341 def data @data end |
Instance Method Details
#params ⇒ Object
343 344 345 346 347 |
# File 'lib/tumblr4r.rb', line 343 def params super.merge!( {"data" => @data, "caption" => @audio_caption}) end |