Sha256: 60458a7ae9ccf6c9bdcd77a14a33dab12f6c7bd3adecb5a85a2740fdde47c2d4

Contents?: true

Size: 670 Bytes

Versions: 2

Compression:

Stored size: 670 Bytes

Contents

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

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

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

        # Versions
        @v1 = nil
      end

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

      def services
        self.v1.services
      end

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

Version data entries

2 entries across 2 versions & 1 rubygems

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