Class: Tumblr::Post::Conversation

Inherits:
Tumblr::Post show all
Defined in:
lib/tumblr/post/conversation.rb

Constant Summary

Constants inherited from Tumblr::Post

BASIC_PARAMS, POST_PARAMS

Instance Attribute Summary

Attributes inherited from Tumblr::Post

#date, #format, #generator, #group, #post_id, #slug, #state, #type

Instance Method Summary collapse

Methods inherited from Tumblr::Post

#add_to_queue, #delete, #edit, parameters, #private=, #private?, #publish_now, #publish_on, #save_as_draft, #send_to_twitter, #tags, #to_h, #to_s, #to_yaml, #write

Constructor Details

#initialize(chat, post_id = nil) ⇒ Conversation

Returns a new instance of Conversation.



5
6
7
8
9
# File 'lib/tumblr/post/conversation.rb', line 5

def initialize(chat, post_id = nil)
  super post_id
  self.conversation = chat
  @type = :conversation
end