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, #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
#audio_caption ⇒ Object
Returns the value of attribute audio_caption.
259 260 261 |
# File 'lib/tumblr4r.rb', line 259 def @audio_caption end |
#audio_player ⇒ Object
Returns the value of attribute audio_player.
259 260 261 |
# File 'lib/tumblr4r.rb', line 259 def audio_player @audio_player end |
#audio_plays ⇒ Object
Returns the value of attribute audio_plays.
259 260 261 |
# File 'lib/tumblr4r.rb', line 259 def audio_plays @audio_plays end |
#data ⇒ Object
Returns the value of attribute data.
260 261 262 |
# File 'lib/tumblr4r.rb', line 260 def data @data end |
Instance Method Details
#params ⇒ Object
262 263 264 265 266 |
# File 'lib/tumblr4r.rb', line 262 def params super.merge!( {"data" => @data, "caption" => @audio_caption}) end |