Class: Twilio::REST::Conversations

Inherits:
ConversationsBase show all
Defined in:
lib/twilio-ruby/rest/conversations.rb,
lib/twilio-ruby/rest/conversations/v1.rb,
lib/twilio-ruby/rest/conversations/v1/role.rb,
lib/twilio-ruby/rest/conversations/v1/user.rb,
lib/twilio-ruby/rest/conversations/v1/service.rb,
lib/twilio-ruby/rest/conversations/v1/credential.rb,
lib/twilio-ruby/rest/conversations/v1/conversation.rb,
lib/twilio-ruby/rest/conversations/v1/service/role.rb,
lib/twilio-ruby/rest/conversations/v1/service/user.rb,
lib/twilio-ruby/rest/conversations/v1/configuration.rb,
lib/twilio-ruby/rest/conversations/v1/service/binding.rb,
lib/twilio-ruby/rest/conversations/v1/conversation/message.rb,
lib/twilio-ruby/rest/conversations/v1/conversation/webhook.rb,
lib/twilio-ruby/rest/conversations/v1/service/conversation.rb,
lib/twilio-ruby/rest/conversations/v1/address_configuration.rb,
lib/twilio-ruby/rest/conversations/v1/configuration/webhook.rb,
lib/twilio-ruby/rest/conversations/v1/service/configuration.rb,
lib/twilio-ruby/rest/conversations/v1/user/user_conversation.rb,
lib/twilio-ruby/rest/conversations/v1/conversation/participant.rb,
lib/twilio-ruby/rest/conversations/v1/participant_conversation.rb,
lib/twilio-ruby/rest/conversations/v1/service/conversation/message.rb,
lib/twilio-ruby/rest/conversations/v1/service/conversation/webhook.rb,
lib/twilio-ruby/rest/conversations/v1/service/configuration/webhook.rb,
lib/twilio-ruby/rest/conversations/v1/conversation_with_participants.rb,
lib/twilio-ruby/rest/conversations/v1/service/user/user_conversation.rb,
lib/twilio-ruby/rest/conversations/v1/service/conversation/participant.rb,
lib/twilio-ruby/rest/conversations/v1/service/participant_conversation.rb,
lib/twilio-ruby/rest/conversations/v1/service/configuration/notification.rb,
lib/twilio-ruby/rest/conversations/v1/conversation/message/delivery_receipt.rb,
lib/twilio-ruby/rest/conversations/v1/service/conversation_with_participants.rb,
lib/twilio-ruby/rest/conversations/v1/service/conversation/message/delivery_receipt.rb

Defined Under Namespace

Classes: V1

Instance Attribute Summary

Attributes inherited from Domain

#client

Instance Method Summary collapse

Methods inherited from ConversationsBase

#initialize, #to_s, #v1

Methods inherited from Domain

#absolute_url, #initialize, #request

Constructor Details

This class inherits a constructor from Twilio::REST::ConversationsBase

Instance Method Details

#address_configurations(sid = :unset) ⇒ Twilio::REST::Conversations::V1::AddressConfigurationInstance, Twilio::REST::Conversations::V1::AddressConfigurationList

Parameters:

  • sid (String) (defaults to: :unset)

    A 34 character string that uniquely identifies this resource.

Returns:



16
17
18
19
# File 'lib/twilio-ruby/rest/conversations.rb', line 16

def address_configurations(sid=:unset)
  warn "address_configurations is deprecated. Use v1.address_configurations instead."
  self.v1.address_configurations(sid)
end

#configurationTwilio::REST::Conversations::V1::ConfigurationInstance



6
7
8
9
# File 'lib/twilio-ruby/rest/conversations.rb', line 6

def configuration
  warn "configuration is deprecated. Use v1.configuration instead."
  self.v1.configuration()
end

#conversations(sid = :unset) ⇒ Twilio::REST::Conversations::V1::ConversationInstance, Twilio::REST::Conversations::V1::ConversationList

Parameters:

  • sid (String) (defaults to: :unset)

    A 34 character string that uniquely identifies this resource.

Returns:



26
27
28
29
# File 'lib/twilio-ruby/rest/conversations.rb', line 26

def conversations(sid=:unset)
  warn "conversations is deprecated. Use v1.conversations instead."
  self.v1.conversations(sid)
end

#credentials(sid = :unset) ⇒ Twilio::REST::Conversations::V1::CredentialInstance, Twilio::REST::Conversations::V1::CredentialList

Parameters:

  • sid (String) (defaults to: :unset)

    A 34 character string that uniquely identifies this resource.

Returns:



36
37
38
39
# File 'lib/twilio-ruby/rest/conversations.rb', line 36

def credentials(sid=:unset)
  warn "credentials is deprecated. Use v1.credentials instead."
  self.v1.credentials(sid)
end

#participant_conversationsTwilio::REST::Conversations::V1::ParticipantConversationInstance



43
44
45
46
# File 'lib/twilio-ruby/rest/conversations.rb', line 43

def participant_conversations
  warn "participant_conversations is deprecated. Use v1.participant_conversations instead."
  self.v1.participant_conversations()
end

#roles(sid = :unset) ⇒ Twilio::REST::Conversations::V1::RoleInstance, Twilio::REST::Conversations::V1::RoleList

Parameters:

  • sid (String) (defaults to: :unset)

    The unique string that we created to identify the Role resource.

Returns:



53
54
55
56
# File 'lib/twilio-ruby/rest/conversations.rb', line 53

def roles(sid=:unset)
  warn "roles  is deprecated. Use v1.roles instead."
  self.v1.roles(sid)
end

#services(sid = :unset) ⇒ Twilio::REST::Conversations::V1::ServiceInstance, Twilio::REST::Conversations::V1::ServiceList

Parameters:

  • sid (String) (defaults to: :unset)

    A 34 character string that uniquely identifies this resource.

Returns:



63
64
65
66
# File 'lib/twilio-ruby/rest/conversations.rb', line 63

def services(sid=:unset)
  warn "services is deprecated. Use v1.services instead."
  self.v1.services(sid)
end

#users(sid = :unset) ⇒ Twilio::REST::Conversations::V1::UserInstance, Twilio::REST::Conversations::V1::UserList

Parameters:

  • sid (String) (defaults to: :unset)

    The unique string that we created to identify the User resource.

Returns:



73
74
75
76
# File 'lib/twilio-ruby/rest/conversations.rb', line 73

def users(sid=:unset)
  warn "users is deprecated. Use v1.users instead."
  self.v1.users(sid)
end