Class: Twilio::REST::Trusthub::V1
- Inherits:
-
Version
- Object
- Version
- Twilio::REST::Trusthub::V1
show all
- Defined in:
- lib/twilio-ruby/rest/trusthub/v1.rb,
lib/twilio-ruby/rest/trusthub/v1/end_user.rb,
lib/twilio-ruby/rest/trusthub/v1/policies.rb,
lib/twilio-ruby/rest/trusthub/v1/end_user_type.rb,
lib/twilio-ruby/rest/trusthub/v1/trust_products.rb,
lib/twilio-ruby/rest/trusthub/v1/customer_profiles.rb,
lib/twilio-ruby/rest/trusthub/v1/supporting_document.rb,
lib/twilio-ruby/rest/trusthub/v1/compliance_inquiries.rb,
lib/twilio-ruby/rest/trusthub/v1/supporting_document_type.rb,
lib/twilio-ruby/rest/trusthub/v1/compliance_tollfree_inquiries.rb,
lib/twilio-ruby/rest/trusthub/v1/compliance_registration_inquiries.rb,
lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_evaluations.rb,
lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_evaluations.rb,
lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_entity_assignments.rb,
lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_entity_assignments.rb,
lib/twilio-ruby/rest/trusthub/v1/trust_products/trust_products_channel_endpoint_assignment.rb,
lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_channel_endpoint_assignment.rb
Defined Under Namespace
Classes: ComplianceInquiriesContext, ComplianceInquiriesInstance, ComplianceInquiriesList, ComplianceInquiriesPage, ComplianceRegistrationInquiriesContext, ComplianceRegistrationInquiriesInstance, ComplianceRegistrationInquiriesList, ComplianceRegistrationInquiriesPage, ComplianceTollfreeInquiriesInstance, ComplianceTollfreeInquiriesList, ComplianceTollfreeInquiriesPage, CustomerProfilesContext, CustomerProfilesInstance, CustomerProfilesList, CustomerProfilesPage, EndUserContext, EndUserInstance, EndUserList, EndUserPage, EndUserTypeContext, EndUserTypeInstance, EndUserTypeList, EndUserTypePage, PoliciesContext, PoliciesInstance, PoliciesList, PoliciesPage, SupportingDocumentContext, SupportingDocumentInstance, SupportingDocumentList, SupportingDocumentPage, SupportingDocumentTypeContext, SupportingDocumentTypeInstance, SupportingDocumentTypeList, SupportingDocumentTypePage, TrustProductsContext, TrustProductsInstance, TrustProductsList, TrustProductsPage
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 Trusthub
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# File 'lib/twilio-ruby/rest/trusthub/v1.rb', line 21
def initialize(domain)
super
@version = 'v1'
@compliance_inquiries = nil
@compliance_registration_inquiries = nil
@compliance_tollfree_inquiries = nil
@customer_profiles = nil
@end_users = nil
@end_user_types = nil
@policies = nil
@supporting_documents = nil
@supporting_document_types = nil
@trust_products = nil
end
|
Instance Method Details
40
41
42
43
44
45
46
47
48
49
|
# File 'lib/twilio-ruby/rest/trusthub/v1.rb', line 40
def compliance_inquiries(customer_id=:unset)
if customer_id.nil?
raise ArgumentError, 'customer_id cannot be nil'
end
if customer_id == :unset
@compliance_inquiries ||= ComplianceInquiriesList.new self
else
ComplianceInquiriesContext.new(self, customer_id)
end
end
|
54
55
56
57
58
59
60
61
62
63
|
# File 'lib/twilio-ruby/rest/trusthub/v1.rb', line 54
def compliance_registration_inquiries(registration_id=:unset)
if registration_id.nil?
raise ArgumentError, 'registration_id cannot be nil'
end
if registration_id == :unset
@compliance_registration_inquiries ||= ComplianceRegistrationInquiriesList.new self
else
ComplianceRegistrationInquiriesContext.new(self, registration_id)
end
end
|
66
67
68
|
# File 'lib/twilio-ruby/rest/trusthub/v1.rb', line 66
def compliance_tollfree_inquiries
@compliance_tollfree_inquiries ||= ComplianceTollfreeInquiriesList.new self
end
|
73
74
75
76
77
78
79
80
81
82
|
# File 'lib/twilio-ruby/rest/trusthub/v1.rb', line 73
def customer_profiles(sid=:unset)
if sid.nil?
raise ArgumentError, 'sid cannot be nil'
end
if sid == :unset
@customer_profiles ||= CustomerProfilesList.new self
else
CustomerProfilesContext.new(self, sid)
end
end
|
101
102
103
104
105
106
107
108
109
110
|
# File 'lib/twilio-ruby/rest/trusthub/v1.rb', line 101
def end_user_types(sid=:unset)
if sid.nil?
raise ArgumentError, 'sid cannot be nil'
end
if sid == :unset
@end_user_types ||= EndUserTypeList.new self
else
EndUserTypeContext.new(self, sid)
end
end
|
87
88
89
90
91
92
93
94
95
96
|
# File 'lib/twilio-ruby/rest/trusthub/v1.rb', line 87
def end_users(sid=:unset)
if sid.nil?
raise ArgumentError, 'sid cannot be nil'
end
if sid == :unset
@end_users ||= EndUserList.new self
else
EndUserContext.new(self, sid)
end
end
|
115
116
117
118
119
120
121
122
123
124
|
# File 'lib/twilio-ruby/rest/trusthub/v1.rb', line 115
def policies(sid=:unset)
if sid.nil?
raise ArgumentError, 'sid cannot be nil'
end
if sid == :unset
@policies ||= PoliciesList.new self
else
PoliciesContext.new(self, sid)
end
end
|
143
144
145
146
147
148
149
150
151
152
|
# File 'lib/twilio-ruby/rest/trusthub/v1.rb', line 143
def supporting_document_types(sid=:unset)
if sid.nil?
raise ArgumentError, 'sid cannot be nil'
end
if sid == :unset
@supporting_document_types ||= SupportingDocumentTypeList.new self
else
SupportingDocumentTypeContext.new(self, sid)
end
end
|
129
130
131
132
133
134
135
136
137
138
|
# File 'lib/twilio-ruby/rest/trusthub/v1.rb', line 129
def supporting_documents(sid=:unset)
if sid.nil?
raise ArgumentError, 'sid cannot be nil'
end
if sid == :unset
@supporting_documents ||= SupportingDocumentList.new self
else
SupportingDocumentContext.new(self, sid)
end
end
|
#to_s ⇒ Object
Provide a user friendly representation
169
170
171
|
# File 'lib/twilio-ruby/rest/trusthub/v1.rb', line 169
def to_s
'<Twilio::REST::Trusthub::V1>';
end
|
157
158
159
160
161
162
163
164
165
166
|
# File 'lib/twilio-ruby/rest/trusthub/v1.rb', line 157
def trust_products(sid=:unset)
if sid.nil?
raise ArgumentError, 'sid cannot be nil'
end
if sid == :unset
@trust_products ||= TrustProductsList.new self
else
TrustProductsContext.new(self, sid)
end
end
|