Class: Tumblr4r::Quote

Inherits:
Post
  • Object
show all
Defined in:
lib/tumblr4r.rb

Instance Attribute Summary collapse

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

#initialize

Constructor Details

This class inherits a constructor from Tumblr4r::Post

Instance Attribute Details

#quote_sourceObject

Returns the value of attribute quote_source.



228
229
230
# File 'lib/tumblr4r.rb', line 228

def quote_source
  @quote_source
end

#quote_textObject

Returns the value of attribute quote_text.



228
229
230
# File 'lib/tumblr4r.rb', line 228

def quote_text
  @quote_text
end

Instance Method Details

#paramsObject



230
231
232
233
234
# File 'lib/tumblr4r.rb', line 230

def params
  super.merge!(
               {"quote" => @quote_text,
                 "source" => @quote_source})
end