Class: Tumblr4r::Regular

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

#regular_bodyObject

Returns the value of attribute regular_body.



196
197
198
# File 'lib/tumblr4r.rb', line 196

def regular_body
  @regular_body
end

#regular_titleObject

Returns the value of attribute regular_title.



196
197
198
# File 'lib/tumblr4r.rb', line 196

def regular_title
  @regular_title
end

Instance Method Details

#paramsObject



198
199
200
# File 'lib/tumblr4r.rb', line 198

def params
  super.merge!({"title" => @regular_title, "body" => @regular_body })
end