Class: Rumblr::VideoPost

Inherits:
Post show all
Defined in:
lib/rumblr/post.rb

Constant Summary

Constants inherited from Post

Post::TYPES

Instance Attribute Summary collapse

Attributes inherited from Post

#date, #date_gmt, #id, #private, #tags, #tumblelog, #type, #unix_timestamp, #url

Instance Method Summary collapse

Methods inherited from Post

#initialize, #private?, #public?

Methods inherited from Resource

#initialize

Constructor Details

This class inherits a constructor from Rumblr::Post

Instance Attribute Details

#captionObject

Returns the value of attribute caption.



85
86
87
# File 'lib/rumblr/post.rb', line 85

def caption
  @caption
end

#dataObject

Returns the value of attribute data.



85
86
87
# File 'lib/rumblr/post.rb', line 85

def data
  @data
end

#embedObject

Returns the value of attribute embed.



85
86
87
# File 'lib/rumblr/post.rb', line 85

def embed
  @embed
end

#titleObject

Returns the value of attribute title.



85
86
87
# File 'lib/rumblr/post.rb', line 85

def title
  @title
end

Instance Method Details

#attribute_hashObject



87
88
89
# File 'lib/rumblr/post.rb', line 87

def attribute_hash
  super.merge(:embed => embed, :data => data, :title => title, :caption => caption)
end