Sha256: 72fbdadaa4bccaa7564748d63858cfc9c18b659bbaddb674d42538b8b987f4d3
Contents?: true
Size: 665 Bytes
Versions: 2
Compression:
Stored size: 665 Bytes
Contents
module Structurely module Clients class Conversations < ApiStruct::Client structurely_api :conversations # Calls GET /conversations/:id # # @example # Structurely::Clients::Conversations.new.show('test-conversation-id') # @see https://docs.structurely.com/#conversations-get-conversation def show(id) get(id) end # Calls POST /conversations # # @example # Structurely::Clients::Conversations.new.create(**options) # @see https://docs.structurely.com/#conversations-create-conversation def create(options) post(json: options) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
structurely-0.1.1 | lib/structurely/clients/conversations.rb |
structurely-0.1.0 | lib/structurely/clients/conversations.rb |