Sha256: 8fb5a3f326ead13e4f2b0b0c49ac78f8c0b519f3ef9b9072b9edcb50d1e8dafc

Contents?: true

Size: 778 Bytes

Versions: 2

Compression:

Stored size: 778 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
      end
      
      ##
      # Version v1 of chat
      def v1
        @v1 ||= V1.new self
      end
      
      def credentials
        self.v1.credentials
      end
      
      def services
        self.v1.services
      end
      
      ##
      # Provide a user friendly representation
      def to_s
        '#<Twilio::REST::Chat>'
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
twilio-ruby-5.0.0.rc18 lib/twilio-ruby/rest/chat.rb
twilio-ruby-5.0.0.rc17 lib/twilio-ruby/rest/chat.rb