Sha256: 242ed59070b4fee7c723a8202c3a0e236435c8e252235856683b77097d2305a3

Contents?: true

Size: 402 Bytes

Versions: 2

Compression:

Stored size: 402 Bytes

Contents

module Structurely
  class Conversation < ApiStruct::Entity
    client_service Structurely::Clients::Conversations

    attr_entity :muted, :id
    attr_entity :stages, &:to_a

    has_entity :settings, as: Structurely::Entities::ConversationSettings
    has_entities :slots, as: Structurely::Entities::ConversationSlot
    has_entities :messages, as: Structurely::Entities::ConversationItem
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
structurely-0.1.1 lib/structurely/conversation.rb
structurely-0.1.0 lib/structurely/conversation.rb