Class: Twilio::REST::Accounts::V1
- Defined in:
- 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/credential/public_key.rb
Defined Under Namespace
Classes: CredentialInstance, CredentialList, CredentialPage
Instance Attribute Summary
Attributes inherited from Version
Instance Method Summary collapse
- #credentials ⇒ Twilio::REST::Accounts::V1::CredentialContext
-
#initialize(domain) ⇒ V1
constructor
Initialize the V1 version of Accounts.
-
#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
15 16 17 18 19 |
# File 'lib/twilio-ruby/rest/accounts/v1.rb', line 15 def initialize(domain) super @version = 'v1' @credentials = nil end |
Instance Method Details
#credentials ⇒ Twilio::REST::Accounts::V1::CredentialContext
23 24 25 |
# File 'lib/twilio-ruby/rest/accounts/v1.rb', line 23 def credentials @credentials ||= CredentialList.new self end |
#to_s ⇒ Object
Provide a user friendly representation
29 30 31 |
# File 'lib/twilio-ruby/rest/accounts/v1.rb', line 29 def to_s '<Twilio::REST::Accounts::V1>' end |