Sha256: 333c1e1b6d6159da8786fb5c062d740dcee6157f441f47268d42a1f942cd5dea

Contents?: true

Size: 702 Bytes

Versions: 5

Compression:

Stored size: 702 Bytes

Contents

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

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

      def credentials
        self.v1.credentials()
      end

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
twilio-ruby-5.0.0.rc26 lib/twilio-ruby/rest/accounts.rb
twilio-ruby-5.0.0.rc25 lib/twilio-ruby/rest/accounts.rb
twilio-ruby-5.0.0.rc24 lib/twilio-ruby/rest/accounts.rb
twilio-ruby-5.0.0.rc23 lib/twilio-ruby/rest/accounts.rb
twilio-ruby-5.0.0.rc22 lib/twilio-ruby/rest/accounts.rb