Sha256: 66c155673bafaf59845318c084a77f5467abc47af031b5ad23bc3a2af7e589af

Contents?: true

Size: 708 Bytes

Versions: 4

Compression:

Stored size: 708 Bytes

Contents

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

module Twilio
  module REST
    class Preview
      class Proxy < Version
        ##
        # Initialize the Proxy version of Preview
        def initialize(domain)
          super
          @version = 'Proxy'
          @services = nil
        end

        def services(sid=:unset)
          if sid == :unset
            @services ||= ServiceList.new self
          else
            ServiceContext.new(self, sid)
          end
        end

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
twilio-ruby-5.0.0.rc24 lib/twilio-ruby/rest/preview/proxy.rb
twilio-ruby-5.0.0.rc23 lib/twilio-ruby/rest/preview/proxy.rb
twilio-ruby-5.0.0.rc22 lib/twilio-ruby/rest/preview/proxy.rb
twilio-ruby-5.0.0.rc21 lib/twilio-ruby/rest/preview/proxy.rb