Class: Twilio::REST::Accounts::V1
- Inherits:
-
Version
- Object
- Version
- Twilio::REST::Accounts::V1
show all
- 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/bulk_consents.rb,
lib/twilio-ruby/rest/accounts/v1/bulk_contacts.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, BulkConsentsInstance, BulkConsentsList, BulkConsentsPage, BulkContactsInstance, BulkContactsList, BulkContactsPage, CredentialInstance, CredentialList, CredentialPage, SafelistInstance, SafelistList, SafelistPage, SecondaryAuthTokenContext, SecondaryAuthTokenInstance, SecondaryAuthTokenList, SecondaryAuthTokenPage
Instance Attribute Summary
Attributes inherited from Version
#domain
Instance Method Summary
collapse
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
29
30
|
# File 'lib/twilio-ruby/rest/accounts/v1.rb', line 21
def initialize(domain)
super
@version = 'v1'
@auth_token_promotion = nil
@bulk_consents = nil
@bulk_contacts = nil
@credentials = nil
@safelist = nil
@secondary_auth_token = nil
end
|
Instance Method Details
34
35
36
|
# File 'lib/twilio-ruby/rest/accounts/v1.rb', line 34
def auth_token_promotion
@auth_token_promotion ||= AuthTokenPromotionContext.new self
end
|
39
40
41
|
# File 'lib/twilio-ruby/rest/accounts/v1.rb', line 39
def bulk_consents
@bulk_consents ||= BulkConsentsList.new self
end
|
44
45
46
|
# File 'lib/twilio-ruby/rest/accounts/v1.rb', line 44
def bulk_contacts
@bulk_contacts ||= BulkContactsList.new self
end
|
49
50
51
|
# File 'lib/twilio-ruby/rest/accounts/v1.rb', line 49
def credentials
@credentials ||= CredentialList.new self
end
|
54
55
56
|
# File 'lib/twilio-ruby/rest/accounts/v1.rb', line 54
def safelist
@safelist ||= SafelistList.new self
end
|
#secondary_auth_token ⇒ Twilio::REST::Accounts::V1::secondaryAuthTokenContext
59
60
61
|
# File 'lib/twilio-ruby/rest/accounts/v1.rb', line 59
def secondary_auth_token
@secondary_auth_token ||= SecondaryAuthTokenContext.new self
end
|
#to_s ⇒ Object
Provide a user friendly representation
64
65
66
|
# File 'lib/twilio-ruby/rest/accounts/v1.rb', line 64
def to_s
'<Twilio::REST::Accounts::V1>';
end
|