Class: Twi::Mock::Conversation
Instance Attribute Summary
Attributes inherited from Conversation
#id, #status
Instance Method Summary
collapse
#url
Methods inherited from Resource
#initialize
Constructor Details
This class inherits a constructor from Twi::Resource
Instance Method Details
#close ⇒ Object
19
|
# File 'lib/twi/mock/conversation.rb', line 19
def close; end
|
#create_message(content:, image_ids: []) ⇒ Object
23
24
25
|
# File 'lib/twi/mock/conversation.rb', line 23
def create_message(content:, image_ids: [])
Mock::Message.new Twi.mock.message
end
|
#create_with(participants:) ⇒ Object
#delete ⇒ Object
21
|
# File 'lib/twi/mock/conversation.rb', line 21
def delete; end
|
#rename(friendly_name) ⇒ Object
17
|
# File 'lib/twi/mock/conversation.rb', line 17
def rename(friendly_name); end
|
#upload(file) ⇒ Object
15
|
# File 'lib/twi/mock/conversation.rb', line 15
def upload(file) = 'fake-sid'
|