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.31.4 lib/twilio-ruby/rest/accounts.rb
twilio-ruby-5.31.3 lib/twilio-ruby/rest/accounts.rb
twilio-ruby-5.31.2 lib/twilio-ruby/rest/accounts.rb
twilio-ruby-5.31.1 lib/twilio-ruby/rest/accounts.rb
twilio-ruby-5.31.0 lib/twilio-ruby/rest/accounts.rb
twilio-ruby-5.30.0 lib/twilio-ruby/rest/accounts.rb
twilio-ruby-5.29.1 lib/twilio-ruby/rest/accounts.rb
twilio-ruby-5.29.0 lib/twilio-ruby/rest/accounts.rb
twilio-ruby-5.28.0 lib/twilio-ruby/rest/accounts.rb
twilio-ruby-5.27.1 lib/twilio-ruby/rest/accounts.rb
twilio-ruby-5.27.0 lib/twilio-ruby/rest/accounts.rb
twilio-ruby-5.26.0 lib/twilio-ruby/rest/accounts.rb
twilio-ruby-5.25.4 lib/twilio-ruby/rest/accounts.rb
twilio-ruby-5.25.3 lib/twilio-ruby/rest/accounts.rb
twilio-ruby-5.25.2 lib/twilio-ruby/rest/accounts.rb
twilio-ruby-5.25.1 lib/twilio-ruby/rest/accounts.rb
twilio-ruby-5.25.0 lib/twilio-ruby/rest/accounts.rb
twilio-ruby-5.24.0 lib/twilio-ruby/rest/accounts.rb
twilio-ruby-5.23.1 lib/twilio-ruby/rest/accounts.rb