Class: Twilio::REST::Chat
- Defined in:
- lib/twilio-ruby/rest/chat.rb,
lib/twilio-ruby/rest/chat/v1.rb,
lib/twilio-ruby/rest/chat/v2.rb,
lib/twilio-ruby/rest/chat/v3.rb,
lib/twilio-ruby/rest/chat/v1/service.rb,
lib/twilio-ruby/rest/chat/v2/service.rb,
lib/twilio-ruby/rest/chat/v3/channel.rb,
lib/twilio-ruby/rest/chat/v1/credential.rb,
lib/twilio-ruby/rest/chat/v2/credential.rb,
lib/twilio-ruby/rest/chat/v1/service/role.rb,
lib/twilio-ruby/rest/chat/v1/service/user.rb,
lib/twilio-ruby/rest/chat/v2/service/role.rb,
lib/twilio-ruby/rest/chat/v2/service/user.rb,
lib/twilio-ruby/rest/chat/v1/service/channel.rb,
lib/twilio-ruby/rest/chat/v2/service/binding.rb,
lib/twilio-ruby/rest/chat/v2/service/channel.rb,
lib/twilio-ruby/rest/chat/v1/service/channel/invite.rb,
lib/twilio-ruby/rest/chat/v1/service/channel/member.rb,
lib/twilio-ruby/rest/chat/v2/service/channel/invite.rb,
lib/twilio-ruby/rest/chat/v2/service/channel/member.rb,
lib/twilio-ruby/rest/chat/v1/service/channel/message.rb,
lib/twilio-ruby/rest/chat/v2/service/channel/message.rb,
lib/twilio-ruby/rest/chat/v2/service/channel/webhook.rb,
lib/twilio-ruby/rest/chat/v1/service/user/user_channel.rb,
lib/twilio-ruby/rest/chat/v2/service/user/user_binding.rb,
lib/twilio-ruby/rest/chat/v2/service/user/user_channel.rb
Defined Under Namespace
Instance Attribute Summary
Attributes inherited from Domain
Instance Method Summary collapse
- #channels(service_sid = :unset, sid = :unset) ⇒ Twilio::REST::Chat::V3::ChannelInstance, Twilio::REST::Chat::V3::ChannelList
- #credentials(sid = :unset) ⇒ Twilio::REST::Chat::V2::CredentialInstance, Twilio::REST::Chat::V2::CredentialList
- #services(sid = :unset) ⇒ Twilio::REST::Chat::V2::ServiceInstance, Twilio::REST::Chat::V2::ServiceList
Methods inherited from ChatBase
#initialize, #to_s, #v1, #v2, #v3
Methods inherited from Domain
#absolute_url, #initialize, #request
Constructor Details
This class inherits a constructor from Twilio::REST::ChatBase
Instance Method Details
#channels(service_sid = :unset, sid = :unset) ⇒ Twilio::REST::Chat::V3::ChannelInstance, Twilio::REST::Chat::V3::ChannelList
29 30 31 32 |
# File 'lib/twilio-ruby/rest/chat.rb', line 29 def channels(service_sid=:unset, sid=:unset) warn "channels is deprecated. Use v3.channels instead." self.v3.channels(service_sid, sid) end |
#credentials(sid = :unset) ⇒ Twilio::REST::Chat::V2::CredentialInstance, Twilio::REST::Chat::V2::CredentialList
9 10 11 12 |
# File 'lib/twilio-ruby/rest/chat.rb', line 9 def credentials(sid=:unset) warn "credentials is deprecated. Use v2.credentials instead." self.v2.credentials(sid) end |
#services(sid = :unset) ⇒ Twilio::REST::Chat::V2::ServiceInstance, Twilio::REST::Chat::V2::ServiceList
19 20 21 22 |
# File 'lib/twilio-ruby/rest/chat.rb', line 19 def services(sid=:unset) warn "services is deprecated. Use v2.services instead." self.v2.services(sid) end |