Sha256: 37a77cfda29a2dfd75aedefc567c2da373c7d0d54be914b56600ec1a5c7dcc45

Contents?: true

Size: 995 Bytes

Versions: 43

Compression:

Stored size: 995 Bytes

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 ApiBase < Domain
      ##
      # Initialize api domain
      #
      # @param twilio - The twilio client
      #
      def initialize(twilio)
        super(twilio)
        @base_url =  "https://api.twilio.com"
        @host = "api.twilio.com"
        @port = 443
        @v2010 = nil
      end

      def v2010
        @v2010 ||= Api::V2010.new self
      end

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

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
twilio-ruby-7.3.6 lib/twilio-ruby/rest/api_base.rb
twilio-ruby-7.3.5 lib/twilio-ruby/rest/api_base.rb
twilio-ruby-7.3.4 lib/twilio-ruby/rest/api_base.rb
twilio-ruby-7.3.3 lib/twilio-ruby/rest/api_base.rb
twilio-ruby-7.3.2 lib/twilio-ruby/rest/api_base.rb
twilio-ruby-7.3.1 lib/twilio-ruby/rest/api_base.rb
twilio-ruby-7.3.0 lib/twilio-ruby/rest/api_base.rb
twilio-ruby-7.2.4 lib/twilio-ruby/rest/api_base.rb
twilio-ruby-7.2.3 lib/twilio-ruby/rest/api_base.rb
twilio-ruby-7.2.2 lib/twilio-ruby/rest/api_base.rb
twilio-ruby-7.2.1 lib/twilio-ruby/rest/api_base.rb
twilio-ruby-7.2.0 lib/twilio-ruby/rest/api_base.rb
twilio-ruby-7.1.1 lib/twilio-ruby/rest/api_base.rb
twilio-ruby-7.0.2 lib/twilio-ruby/rest/api_base.rb
twilio-ruby-7.0.1 lib/twilio-ruby/rest/api_base.rb
twilio-ruby-7.0.0 lib/twilio-ruby/rest/api_base.rb
twilio-ruby-7.0.0.pre.rc.3 lib/twilio-ruby/rest/api_base.rb
twilio-ruby-7.0.0.pre.rc.2 lib/twilio-ruby/rest/api_base.rb
twilio-ruby-6.12.1 lib/twilio-ruby/rest/api_base.rb
twilio-ruby-6.12.0 lib/twilio-ruby/rest/api_base.rb