Class: Twilio::REST::Preview::TrustedComms
- Inherits:
-
Version
- Object
- Version
- Twilio::REST::Preview::TrustedComms
show all
- Defined in:
- lib/twilio-ruby/rest/preview/trusted_comms.rb,
lib/twilio-ruby/rest/preview/trusted_comms/cps.rb,
lib/twilio-ruby/rest/preview/trusted_comms/device.rb,
lib/twilio-ruby/rest/preview/trusted_comms/phone_call.rb,
lib/twilio-ruby/rest/preview/trusted_comms/branded_call.rb,
lib/twilio-ruby/rest/preview/trusted_comms/current_call.rb
Defined Under Namespace
Classes: BrandedCallInstance, BrandedCallList, BrandedCallPage, CpsContext, CpsInstance, CpsList, CpsPage, CurrentCallContext, CurrentCallInstance, CurrentCallList, CurrentCallPage, DeviceInstance, DeviceList, DevicePage, PhoneCallInstance, PhoneCallList, PhoneCallPage
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 the TrustedComms version of Preview
15
16
17
18
19
20
21
22
23
|
# File 'lib/twilio-ruby/rest/preview/trusted_comms.rb', line 15
def initialize(domain)
super
@version = 'TrustedComms'
@branded_calls = nil
@devices = nil
@phone_calls = nil
@current_calls = nil
@cps = nil
end
|
Instance Method Details
#branded_calls ⇒ Twilio::REST::Preview::TrustedComms::BrandedCallContext
27
28
29
|
# File 'lib/twilio-ruby/rest/preview/trusted_comms.rb', line 27
def branded_calls
@branded_calls ||= BrandedCallList.new self
end
|
51
52
53
|
# File 'lib/twilio-ruby/rest/preview/trusted_comms.rb', line 51
def cps
@cps ||= CpsContext.new self
end
|
45
46
47
|
# File 'lib/twilio-ruby/rest/preview/trusted_comms.rb', line 45
def current_calls
@current_calls ||= CurrentCallContext.new self
end
|
#devices ⇒ Twilio::REST::Preview::TrustedComms::DeviceContext
33
34
35
|
# File 'lib/twilio-ruby/rest/preview/trusted_comms.rb', line 33
def devices
@devices ||= DeviceList.new self
end
|
#phone_calls ⇒ Twilio::REST::Preview::TrustedComms::PhoneCallContext
39
40
41
|
# File 'lib/twilio-ruby/rest/preview/trusted_comms.rb', line 39
def phone_calls
@phone_calls ||= PhoneCallList.new self
end
|
#to_s ⇒ Object
Provide a user friendly representation
57
58
59
|
# File 'lib/twilio-ruby/rest/preview/trusted_comms.rb', line 57
def to_s
'<Twilio::REST::Preview::TrustedComms>'
end
|