Class: VoiceML::ConversationsV1Resource

Inherits:
Object
  • Object
show all
Defined in:
lib/voiceml/resources/conversations_v1.rb

Overview

client.conversations_v1 — Twilio Conversations v1 (conversations.twilio.com/v1). Sits outside the /2010-04-01/Accounts/... namespace; account resolved from Basic auth.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(transport) ⇒ ConversationsV1Resource

Returns a new instance of ConversationsV1Resource.



13
14
15
16
17
18
19
20
21
22
# File 'lib/voiceml/resources/conversations_v1.rb', line 13

def initialize(transport)
  @conversations                  = ConversationsV1ConversationsResource.new(transport)
  @roles                          = ConversationsV1RolesResource.new(transport)
  @users                          = ConversationsV1UsersResource.new(transport)
  @credentials                    = ConversationsV1CredentialsResource.new(transport)
  @configuration                  = ConversationsV1ConfigurationResource.new(transport)
  @participant_conversations      = ConversationsV1ParticipantConversationsResource.new(transport)
  @conversation_with_participants = ConversationsV1ConversationWithParticipantsResource.new(transport)
  @services                       = ConversationsV1ServicesResource.new(transport)
end

Instance Attribute Details

#configurationObject (readonly)

Returns the value of attribute configuration.



9
10
11
# File 'lib/voiceml/resources/conversations_v1.rb', line 9

def configuration
  @configuration
end

#conversation_with_participantsObject (readonly)

Returns the value of attribute conversation_with_participants.



9
10
11
# File 'lib/voiceml/resources/conversations_v1.rb', line 9

def conversation_with_participants
  @conversation_with_participants
end

#conversationsObject (readonly)

Returns the value of attribute conversations.



9
10
11
# File 'lib/voiceml/resources/conversations_v1.rb', line 9

def conversations
  @conversations
end

#credentialsObject (readonly)

Returns the value of attribute credentials.



9
10
11
# File 'lib/voiceml/resources/conversations_v1.rb', line 9

def credentials
  @credentials
end

#participant_conversationsObject (readonly)

Returns the value of attribute participant_conversations.



9
10
11
# File 'lib/voiceml/resources/conversations_v1.rb', line 9

def participant_conversations
  @participant_conversations
end

#rolesObject (readonly)

Returns the value of attribute roles.



9
10
11
# File 'lib/voiceml/resources/conversations_v1.rb', line 9

def roles
  @roles
end

#servicesObject (readonly)

Returns the value of attribute services.



9
10
11
# File 'lib/voiceml/resources/conversations_v1.rb', line 9

def services
  @services
end

#usersObject (readonly)

Returns the value of attribute users.



9
10
11
# File 'lib/voiceml/resources/conversations_v1.rb', line 9

def users
  @users
end