Module: Bearcat::Client::Conversations

Included in:
Bearcat::Client
Defined in:
lib/bearcat/client/conversations.rb

Instance Method Summary collapse

Instance Method Details

#create_conversation(params = {}) ⇒ Object



5
6
7
# File 'lib/bearcat/client/conversations.rb', line 5

def create_conversation(params = {})
  post("/api/v1/conversations", params)
end

#delete_conversation(conversation) ⇒ Object



9
10
11
# File 'lib/bearcat/client/conversations.rb', line 9

def delete_conversation(conversation)
  delete("/api/v1/conversations/#{conversation.to_s}")
end