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,
lib/twilio-ruby/rest/accounts/v1/messaging_geopermissions.rb
Defined Under Namespace
Classes: AuthTokenPromotionContext, AuthTokenPromotionInstance, AuthTokenPromotionList, AuthTokenPromotionPage, BulkConsentsInstance, BulkConsentsList, BulkConsentsPage, BulkContactsInstance, BulkContactsList, BulkContactsPage, CredentialInstance, CredentialList, CredentialPage, MessagingGeopermissionsInstance, MessagingGeopermissionsList, MessagingGeopermissionsPage, 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
31
|
# 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
@messaging_geopermissions = nil
@safelist = nil
@secondary_auth_token = nil
end
|
Instance Method Details
35
36
37
|
# File 'lib/twilio-ruby/rest/accounts/v1.rb', line 35
def auth_token_promotion
@auth_token_promotion ||= AuthTokenPromotionContext.new self
end
|
40
41
42
|
# File 'lib/twilio-ruby/rest/accounts/v1.rb', line 40
def bulk_consents
@bulk_consents ||= BulkConsentsList.new self
end
|
45
46
47
|
# File 'lib/twilio-ruby/rest/accounts/v1.rb', line 45
def bulk_contacts
@bulk_contacts ||= BulkContactsList.new self
end
|
50
51
52
|
# File 'lib/twilio-ruby/rest/accounts/v1.rb', line 50
def credentials
@credentials ||= CredentialList.new self
end
|
55
56
57
|
# File 'lib/twilio-ruby/rest/accounts/v1.rb', line 55
def messaging_geopermissions
@messaging_geopermissions ||= MessagingGeopermissionsList.new self
end
|
60
61
62
|
# File 'lib/twilio-ruby/rest/accounts/v1.rb', line 60
def safelist
@safelist ||= SafelistList.new self
end
|
#secondary_auth_token ⇒ Twilio::REST::Accounts::V1::secondaryAuthTokenContext
65
66
67
|
# File 'lib/twilio-ruby/rest/accounts/v1.rb', line 65
def secondary_auth_token
@secondary_auth_token ||= SecondaryAuthTokenContext.new self
end
|
#to_s ⇒ Object
Provide a user friendly representation
70
71
72
|
# File 'lib/twilio-ruby/rest/accounts/v1.rb', line 70
def to_s
'<Twilio::REST::Accounts::V1>';
end
|