Sha256: 82be6d096f64178f9ae9319888d9c3b5f839712eef4161a41b8283d33e1338e3

Contents?: true

Size: 700 Bytes

Versions: 3

Compression:

Stored size: 700 Bytes

Contents

##
# This code was generated by
# \ / _    _  _|   _  _
#  | (_)\/(_)(_|\/| |(/_  v1.0.0
#       /       /

module Twilio
  module REST
    class Messaging < Domain
      ##
      # Initialize the Messaging Domain
      def initialize(twilio)
        super

        @base_url = 'https://messaging.twilio.com'
        @host = 'messaging.twilio.com'
        @port = 443

        # Versions
        @v1 = nil
      end

      ##
      # Version v1 of messaging
      def v1
        @v1 ||= V1.new self
      end

      def services
        self.v1.services
      end

      ##
      # Provide a user friendly representation
      def to_s
        '#<Twilio::REST::Messaging>'
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
twilio-ruby-5.0.0.rc21 lib/twilio-ruby/rest/messaging.rb
twilio-ruby-5.0.0.rc20 lib/twilio-ruby/rest/messaging.rb
twilio-ruby-5.0.0.rc19 lib/twilio-ruby/rest/messaging.rb