Class: Tumblr4r::Chat

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

#conversation_textObject

Returns the value of attribute conversation_text.



247
248
249
# File 'lib/tumblr4r.rb', line 247

def conversation_text
  @conversation_text
end

#conversation_titleObject

Returns the value of attribute conversation_title.



247
248
249
# File 'lib/tumblr4r.rb', line 247

def conversation_title
  @conversation_title
end

Instance Method Details

#paramsObject

<conversation><line name=“…” label=“…”>text</line>のリスト</conversation>



250
251
252
253
254
# File 'lib/tumblr4r.rb', line 250

def params
  super.merge!(
               {"title" => @conversation_title,
                 "conversation" => @conversation_text})
end