Sha256: f89e5af60d4d98b23846a614ed5ad6cf33bc1072a77d44356bf99a689435bc39
Contents?: true
Size: 871 Bytes
Versions: 5
Compression:
Stored size: 871 Bytes
Contents
## # This code was generated by # \ / _ _ _| _ _ # | (_)\/(_)(_|\/| |(/_ v1.0.0 # / / module Twilio module REST class Chat < Domain ## # Initialize the Chat Domain def initialize(twilio) super @base_url = 'https://chat.twilio.com' @host = 'chat.twilio.com' @port = 443 # Versions @v1 = nil @v2 = nil end ## # Version v1 of chat def v1 @v1 ||= V1.new self end ## # Version v2 of chat def v2 @v2 ||= V2.new self end def credentials(sid=:unset) self.v2.credentials(sid) end def services(sid=:unset) self.v2.services(sid) end ## # Provide a user friendly representation def to_s '#<Twilio::REST::Chat>' end end end end
Version data entries
5 entries across 5 versions & 1 rubygems