Class: Twilio::REST::Accounts::V1
- Defined in:
- lib/twilio-ruby/rest/accounts/v1.rb,
lib/twilio-ruby/rest/accounts/v1/safelist.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: AuthTokenPromotionContext, AuthTokenPromotionInstance, AuthTokenPromotionList, AuthTokenPromotionPage, CredentialInstance, CredentialList, CredentialPage, SafelistInstance, SafelistList, SafelistPage, SecondaryAuthTokenContext, SecondaryAuthTokenInstance, SecondaryAuthTokenList, SecondaryAuthTokenPage
Instance Attribute Summary
Attributes inherited from Version
Instance Method Summary collapse
- #auth_token_promotion ⇒ Twilio::REST::Accounts::V1::authTokenPromotionContext
- #credentials ⇒ Twilio::REST::Accounts::V1::CredentialList
-
#initialize(domain) ⇒ V1
constructor
Initialize the V1 version of Accounts.
- #safelist ⇒ Twilio::REST::Accounts::V1::SafelistList
- #secondary_auth_token ⇒ Twilio::REST::Accounts::V1::secondaryAuthTokenContext
-
#to_s ⇒ Object
Provide a user friendly representation.
Methods inherited from Version
#absolute_url, #create, #delete, #exception, #fetch, #page, #read_limits, #relative_uri, #request, #stream, #update
Constructor Details
#initialize(domain) ⇒ V1
Initialize the V1 version of Accounts
21 22 23 24 25 26 27 28 |
# File 'lib/twilio-ruby/rest/accounts/v1.rb', line 21 def initialize(domain) super @version = 'v1' @auth_token_promotion = nil @credentials = nil @safelist = nil @secondary_auth_token = nil end |
Instance Method Details
#auth_token_promotion ⇒ Twilio::REST::Accounts::V1::authTokenPromotionContext
32 33 34 |
# File 'lib/twilio-ruby/rest/accounts/v1.rb', line 32 def auth_token_promotion @auth_token_promotion ||= AuthTokenPromotionContext.new self end |
#credentials ⇒ Twilio::REST::Accounts::V1::CredentialList
37 38 39 |
# File 'lib/twilio-ruby/rest/accounts/v1.rb', line 37 def credentials @credentials ||= CredentialList.new self end |
#safelist ⇒ Twilio::REST::Accounts::V1::SafelistList
42 43 44 |
# File 'lib/twilio-ruby/rest/accounts/v1.rb', line 42 def safelist @safelist ||= SafelistList.new self end |
#secondary_auth_token ⇒ Twilio::REST::Accounts::V1::secondaryAuthTokenContext
47 48 49 |
# File 'lib/twilio-ruby/rest/accounts/v1.rb', line 47 def secondary_auth_token @secondary_auth_token ||= SecondaryAuthTokenContext.new self end |
#to_s ⇒ Object
Provide a user friendly representation
52 53 54 |
# File 'lib/twilio-ruby/rest/accounts/v1.rb', line 52 def to_s '<Twilio::REST::Accounts::V1>'; end |