Class: Twilio::REST::Accounts

Inherits:
AccountsBase show all
Defined in:
lib/twilio-ruby/rest/accounts.rb,
lib/twilio-ruby/rest/accounts/v1.rb,
lib/twilio-ruby/rest/accounts/v1/credential.rb,
lib/twilio-ruby/rest/accounts/v1/credential/aws.rb,
lib/twilio-ruby/rest/accounts/v1/auth_token_promotion.rb,
lib/twilio-ruby/rest/accounts/v1/secondary_auth_token.rb,
lib/twilio-ruby/rest/accounts/v1/credential/public_key.rb

Defined Under Namespace

Classes: V1

Instance Attribute Summary

Attributes inherited from Domain

#client

Instance Method Summary collapse

Methods inherited from AccountsBase

#initialize, #to_s, #v1

Methods inherited from Domain

#absolute_url, #initialize, #request

Constructor Details

This class inherits a constructor from Twilio::REST::AccountsBase

Instance Method Details

#auth_token_promotionTwilio::REST::Accounts::V1::AuthTokenPromotionInstance



6
7
8
9
# File 'lib/twilio-ruby/rest/accounts.rb', line 6

def auth_token_promotion
  warn "auth_token_promotion is deprecated. Use v1.auth_token_promotion instead."
  self.v1.auth_token_promotion()
end

#credentialsTwilio::REST::Accounts::V1::CredentialInstance



13
14
15
16
# File 'lib/twilio-ruby/rest/accounts.rb', line 13

def credentials
  warn "credentials is deprecated. Use v1.credentials instead."
  self.v1.credentials()
end

#secondary_auth_tokenTwilio::REST::Accounts::V1::SecondaryAuthTokenInstance



20
21
22
23
# File 'lib/twilio-ruby/rest/accounts.rb', line 20

def secondary_auth_token
  warn "secondary_auth_token is deprecated. Use v1.secondary_auth_token instead."
  self.v1.secondary_auth_token()
end