Sha256: 0325eeeb4a0df5c5c2998623cf9c6add8a46c4ffee7720c007a71a796a16b203

Contents?: true

Size: 1.45 KB

Versions: 19

Compression:

Stored size: 1.45 KB

Contents

##
 # This code was generated by
 # ___ _ _ _ _ _    _ ____    ____ ____ _    ____ ____ _  _ ____ ____ ____ ___ __   __
 #  |  | | | | |    | |  | __ |  | |__| | __ | __ |___ |\ | |___ |__/ |__|  | |  | |__/
 #  |  |_|_| | |___ | |__|    |__| |  | |    |__] |___ | \| |___ |  \ |  |  | |__| |  \
 #
 # NOTE: This class is auto generated by OpenAPI Generator.
 # https://openapi-generator.tech
 # Do not edit the class manually.
# frozen_string_literal: true
module Twilio
  module REST
    class PreviewBase < Domain
      ##
      # Initialize preview domain
      #
      # @param twilio - The twilio client
      #
      def initialize(twilio)
        super(twilio)
        @base_url =  "https://preview.twilio.com"
        @host = "preview.twilio.com"
        @port = 443
        @deployed_devices = nil
        @hosted_numbers = nil
        @sync = nil
        @marketplace = nil
        @wireless = nil
      end

      def deployed_devices
        @deployed_devices ||= Preview::DeployedDevices.new self
      end

      def hosted_numbers
        @hosted_numbers ||= Preview::HostedNumbers.new self
      end

      def sync
        @sync ||= Preview::Sync.new self
      end

      def marketplace
        @marketplace ||= Preview::Marketplace.new self
      end

      def wireless
        @wireless ||= Preview::Wireless.new self
      end

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

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
twilio-ruby-7.3.2 lib/twilio-ruby/rest/preview_base.rb
twilio-ruby-7.3.1 lib/twilio-ruby/rest/preview_base.rb
twilio-ruby-7.3.0 lib/twilio-ruby/rest/preview_base.rb
twilio-ruby-7.2.4 lib/twilio-ruby/rest/preview_base.rb
twilio-ruby-7.2.3 lib/twilio-ruby/rest/preview_base.rb
twilio-ruby-7.2.2 lib/twilio-ruby/rest/preview_base.rb
twilio-ruby-7.2.1 lib/twilio-ruby/rest/preview_base.rb
twilio-ruby-7.2.0 lib/twilio-ruby/rest/preview_base.rb
twilio-ruby-7.1.1 lib/twilio-ruby/rest/preview_base.rb
twilio-ruby-7.0.2 lib/twilio-ruby/rest/preview_base.rb
twilio-ruby-7.0.1 lib/twilio-ruby/rest/preview_base.rb
twilio-ruby-7.0.0 lib/twilio-ruby/rest/preview_base.rb
twilio-ruby-7.0.0.pre.rc.3 lib/twilio-ruby/rest/preview_base.rb
twilio-ruby-7.0.0.pre.rc.2 lib/twilio-ruby/rest/preview_base.rb
twilio-ruby-6.12.1 lib/twilio-ruby/rest/preview_base.rb
twilio-ruby-6.12.0 lib/twilio-ruby/rest/preview_base.rb
twilio-ruby-7.0.0.pre.rc.1 lib/twilio-ruby/rest/preview_base.rb
twilio-ruby-6.11.0 lib/twilio-ruby/rest/preview_base.rb
twilio-ruby-6.9.1 lib/twilio-ruby/rest/preview_base.rb