class Twilio::REST::Accounts::V1
Public Class Methods
new(domain)
click to toggle source
Initialize the V1
version of Accounts
Calls superclass method
Twilio::REST::Version::new
# File lib/twilio-ruby/rest/accounts/v1.rb 15 def initialize(domain) 16 super 17 @version = 'v1' 18 @auth_token_promotion = nil 19 @credentials = nil 20 @secondary_auth_token = nil 21 end
Public Instance Methods
auth_token_promotion()
click to toggle source
@return [Twilio::REST::Accounts::V1::AuthTokenPromotionContext]
# File lib/twilio-ruby/rest/accounts/v1.rb 25 def auth_token_promotion 26 @auth_token_promotion ||= AuthTokenPromotionContext.new self 27 end
credentials()
click to toggle source
@return [Twilio::REST::Accounts::V1::CredentialContext]
# File lib/twilio-ruby/rest/accounts/v1.rb 31 def credentials 32 @credentials ||= CredentialList.new self 33 end
secondary_auth_token()
click to toggle source
@return [Twilio::REST::Accounts::V1::SecondaryAuthTokenContext]
# File lib/twilio-ruby/rest/accounts/v1.rb 37 def secondary_auth_token 38 @secondary_auth_token ||= SecondaryAuthTokenContext.new self 39 end
to_s()
click to toggle source
Provide a user friendly representation
# File lib/twilio-ruby/rest/accounts/v1.rb 43 def to_s 44 '<Twilio::REST::Accounts::V1>' 45 end