class Structurely::Clients::Conversations

Public Instance Methods

create(options) click to toggle source

Calls POST /conversations

@example

Structurely::Clients::Conversations.new.create(**options)

@see docs.structurely.com/#conversations-create-conversation

# File lib/structurely/clients/conversations.rb, line 20
def create(options)
  post(json: options)
end
show(id) click to toggle source

Calls GET /conversations/:id

@example

Structurely::Clients::Conversations.new.show('test-conversation-id')

@see docs.structurely.com/#conversations-get-conversation

# File lib/structurely/clients/conversations.rb, line 11
def show(id)
  get(id)
end