Sha256: 320cc764a5fa7e0c2fa74e8084d5ab4b0fc1a5aba3e9e9c0d72abc478aa9848c

Contents?: true

Size: 808 Bytes

Versions: 39

Compression:

Stored size: 808 Bytes

Contents

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

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

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

        # Versions
        @v1 = nil
      end

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

      ##
      # @return [Twilio::REST::Accounts::V1::CredentialInstance]
      def credentials
        self.v1.credentials()
      end

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

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
twilio-ruby-5.40.4 lib/twilio-ruby/rest/accounts.rb
twilio-ruby-5.40.3 lib/twilio-ruby/rest/accounts.rb
twilio-ruby-5.40.2 lib/twilio-ruby/rest/accounts.rb
twilio-ruby-5.40.1 lib/twilio-ruby/rest/accounts.rb
twilio-ruby-5.40.0 lib/twilio-ruby/rest/accounts.rb
twilio-ruby-5.39.3 lib/twilio-ruby/rest/accounts.rb
twilio-ruby-5.39.2 lib/twilio-ruby/rest/accounts.rb
twilio-ruby-5.39.1 lib/twilio-ruby/rest/accounts.rb
twilio-ruby-5.39.0 lib/twilio-ruby/rest/accounts.rb
twilio-ruby-5.38.0 lib/twilio-ruby/rest/accounts.rb
twilio-ruby-5.37.0 lib/twilio-ruby/rest/accounts.rb
twilio-ruby-5.36.0 lib/twilio-ruby/rest/accounts.rb
twilio-ruby-5.35.0 lib/twilio-ruby/rest/accounts.rb
twilio-ruby-5.34.1 lib/twilio-ruby/rest/accounts.rb
twilio-ruby-5.34.0 lib/twilio-ruby/rest/accounts.rb
twilio-ruby-5.33.1 lib/twilio-ruby/rest/accounts.rb
twilio-ruby-5.33.0 lib/twilio-ruby/rest/accounts.rb
twilio-ruby-5.32.0 lib/twilio-ruby/rest/accounts.rb
twilio-ruby-5.31.6 lib/twilio-ruby/rest/accounts.rb
twilio-ruby-5.31.5 lib/twilio-ruby/rest/accounts.rb