Class: Structurely::Clients::Conversations

Inherits:
ApiStruct::Client
  • Object
show all
Defined in:
lib/structurely/clients/conversations.rb

Instance Method Summary collapse

Instance Method Details

#create(options) ⇒ Object

Calls POST /conversations



20
21
22
# File 'lib/structurely/clients/conversations.rb', line 20

def create(options)
  post(json: options)
end

#show(id) ⇒ Object

Calls GET /conversations/:id



11
12
13
# File 'lib/structurely/clients/conversations.rb', line 11

def show(id)
  get(id)
end