Class: VoiceML::ConversationsV1Resource
- Inherits:
-
Object
- Object
- VoiceML::ConversationsV1Resource
- 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
-
#configuration ⇒ Object
readonly
Returns the value of attribute configuration.
-
#conversation_with_participants ⇒ Object
readonly
Returns the value of attribute conversation_with_participants.
-
#conversations ⇒ Object
readonly
Returns the value of attribute conversations.
-
#credentials ⇒ Object
readonly
Returns the value of attribute credentials.
-
#participant_conversations ⇒ Object
readonly
Returns the value of attribute participant_conversations.
-
#roles ⇒ Object
readonly
Returns the value of attribute roles.
-
#services ⇒ Object
readonly
Returns the value of attribute services.
-
#users ⇒ Object
readonly
Returns the value of attribute users.
Instance Method Summary collapse
-
#initialize(transport) ⇒ ConversationsV1Resource
constructor
A new instance of ConversationsV1Resource.
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
#configuration ⇒ Object (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_participants ⇒ Object (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 |
#conversations ⇒ Object (readonly)
Returns the value of attribute conversations.
9 10 11 |
# File 'lib/voiceml/resources/conversations_v1.rb', line 9 def conversations @conversations end |
#credentials ⇒ Object (readonly)
Returns the value of attribute credentials.
9 10 11 |
# File 'lib/voiceml/resources/conversations_v1.rb', line 9 def credentials @credentials end |
#participant_conversations ⇒ Object (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 |
#roles ⇒ Object (readonly)
Returns the value of attribute roles.
9 10 11 |
# File 'lib/voiceml/resources/conversations_v1.rb', line 9 def roles @roles end |
#services ⇒ Object (readonly)
Returns the value of attribute services.
9 10 11 |
# File 'lib/voiceml/resources/conversations_v1.rb', line 9 def services @services end |
#users ⇒ Object (readonly)
Returns the value of attribute users.
9 10 11 |
# File 'lib/voiceml/resources/conversations_v1.rb', line 9 def users @users end |