Class: Rumblr::LinkPost

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

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

#descriptionObject

Returns the value of attribute description.



67
68
69
# File 'lib/rumblr/post.rb', line 67

def description
  @description
end

#nameObject

Returns the value of attribute name.



67
68
69
# File 'lib/rumblr/post.rb', line 67

def name
  @name
end

#urlObject

Returns the value of attribute url.



67
68
69
# File 'lib/rumblr/post.rb', line 67

def url
  @url
end

Instance Method Details

#attribute_hashObject



69
70
71
# File 'lib/rumblr/post.rb', line 69

def attribute_hash
  super.merge(:name => name, :url => url, :description => description)
end