Class: Twilio::REST::Preview
- Inherits:
-
Domain
- Object
- Domain
- Twilio::REST::Preview
show all
- Defined in:
- lib/twilio-ruby/rest/preview.rb,
lib/twilio-ruby/rest/preview/sync.rb,
lib/twilio-ruby/rest/preview/wireless.rb,
lib/twilio-ruby/rest/preview/understand.rb,
lib/twilio-ruby/rest/preview/marketplace.rb,
lib/twilio-ruby/rest/preview/bulk_exports.rb,
lib/twilio-ruby/rest/preview/sync/service.rb,
lib/twilio-ruby/rest/preview/wireless/sim.rb,
lib/twilio-ruby/rest/preview/trusted_comms.rb,
lib/twilio-ruby/rest/preview/hosted_numbers.rb,
lib/twilio-ruby/rest/preview/deployed_devices.rb,
lib/twilio-ruby/rest/preview/wireless/command.rb,
lib/twilio-ruby/rest/preview/trusted_comms/cps.rb,
lib/twilio-ruby/rest/preview/wireless/rate_plan.rb,
lib/twilio-ruby/rest/preview/wireless/sim/usage.rb,
lib/twilio-ruby/rest/preview/bulk_exports/export.rb,
lib/twilio-ruby/rest/preview/understand/assistant.rb,
lib/twilio-ruby/rest/preview/sync/service/document.rb,
lib/twilio-ruby/rest/preview/sync/service/sync_map.rb,
lib/twilio-ruby/rest/preview/deployed_devices/fleet.rb,
lib/twilio-ruby/rest/preview/sync/service/sync_list.rb,
lib/twilio-ruby/rest/preview/bulk_exports/export/day.rb,
lib/twilio-ruby/rest/preview/bulk_exports/export/job.rb,
lib/twilio-ruby/rest/preview/understand/assistant/task.rb,
lib/twilio-ruby/rest/preview/deployed_devices/fleet/key.rb,
lib/twilio-ruby/rest/preview/trusted_comms/current_call.rb,
lib/twilio-ruby/rest/preview/understand/assistant/query.rb,
lib/twilio-ruby/rest/preview/marketplace/available_add_on.rb,
lib/twilio-ruby/rest/preview/marketplace/installed_add_on.rb,
lib/twilio-ruby/rest/preview/deployed_devices/fleet/device.rb,
lib/twilio-ruby/rest/preview/trusted_comms/branded_channel.rb,
lib/twilio-ruby/rest/preview/understand/assistant/dialogue.rb,
lib/twilio-ruby/rest/preview/understand/assistant/field_type.rb,
lib/twilio-ruby/rest/preview/understand/assistant/task/field.rb,
lib/twilio-ruby/rest/preview/trusted_comms/brands_information.rb,
lib/twilio-ruby/rest/preview/understand/assistant/model_build.rb,
lib/twilio-ruby/rest/preview/understand/assistant/style_sheet.rb,
lib/twilio-ruby/rest/preview/understand/assistant/task/sample.rb,
lib/twilio-ruby/rest/preview/bulk_exports/export_configuration.rb,
lib/twilio-ruby/rest/preview/deployed_devices/fleet/deployment.rb,
lib/twilio-ruby/rest/preview/deployed_devices/fleet/certificate.rb,
lib/twilio-ruby/rest/preview/hosted_numbers/hosted_number_order.rb,
lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_item.rb,
lib/twilio-ruby/rest/preview/bulk_exports/export/export_custom_job.rb,
lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document.rb,
lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_item.rb,
lib/twilio-ruby/rest/preview/trusted_comms/branded_channel/channel.rb,
lib/twilio-ruby/rest/preview/understand/assistant/task/task_actions.rb,
lib/twilio-ruby/rest/preview/sync/service/document/document_permission.rb,
lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_permission.rb,
lib/twilio-ruby/rest/preview/understand/assistant/task/task_statistics.rb,
lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_permission.rb,
lib/twilio-ruby/rest/preview/understand/assistant/field_type/field_value.rb,
lib/twilio-ruby/rest/preview/understand/assistant/assistant_fallback_actions.rb,
lib/twilio-ruby/rest/preview/understand/assistant/assistant_initiation_actions.rb,
lib/twilio-ruby/rest/preview/marketplace/available_add_on/available_add_on_extension.rb,
lib/twilio-ruby/rest/preview/marketplace/installed_add_on/installed_add_on_extension.rb,
lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document/dependent_hosted_number_order.rb
Defined Under Namespace
Classes: BulkExports, DeployedDevices, HostedNumbers, Marketplace, Sync, TrustedComms, Understand, Wireless
Instance Attribute Summary
Attributes inherited from Domain
#client
Instance Method Summary
collapse
-
#assistants(sid = :unset) ⇒ Twilio::REST::Preview::Understand::AssistantInstance, Twilio::REST::Preview::Understand::AssistantList
-
#authorization_documents(sid = :unset) ⇒ Twilio::REST::Preview::HostedNumbers::AuthorizationDocumentInstance, Twilio::REST::Preview::HostedNumbers::AuthorizationDocumentList
-
#available_add_ons(sid = :unset) ⇒ Twilio::REST::Preview::Marketplace::AvailableAddOnInstance, Twilio::REST::Preview::Marketplace::AvailableAddOnList
-
#branded_channels(sid = :unset) ⇒ Twilio::REST::Preview::TrustedComms::BrandedChannelInstance, Twilio::REST::Preview::TrustedComms::BrandedChannelList
-
#brands_information ⇒ Twilio::REST::Preview::TrustedComms::BrandsInformationInstance
-
#bulk_exports ⇒ Object
Version bulk_exports of preview.
-
#commands(sid = :unset) ⇒ Twilio::REST::Preview::Wireless::CommandInstance, Twilio::REST::Preview::Wireless::CommandList
-
#cps ⇒ Twilio::REST::Preview::TrustedComms::CpsInstance
-
#current_calls ⇒ Twilio::REST::Preview::TrustedComms::CurrentCallInstance
-
#deployed_devices ⇒ Object
Version deployed_devices of preview.
-
#export_configuration(resource_type = :unset) ⇒ Twilio::REST::Preview::BulkExports::ExportConfigurationInstance, Twilio::REST::Preview::BulkExports::ExportConfigurationList
-
#exports(resource_type = :unset) ⇒ Twilio::REST::Preview::BulkExports::ExportInstance, Twilio::REST::Preview::BulkExports::ExportList
-
#fleets(sid = :unset) ⇒ Twilio::REST::Preview::DeployedDevices::FleetInstance, Twilio::REST::Preview::DeployedDevices::FleetList
-
#hosted_number_orders(sid = :unset) ⇒ Twilio::REST::Preview::HostedNumbers::HostedNumberOrderInstance, Twilio::REST::Preview::HostedNumbers::HostedNumberOrderList
-
#hosted_numbers ⇒ Object
Version hosted_numbers of preview.
-
#initialize(twilio) ⇒ Preview
constructor
Initialize the Preview Domain.
-
#installed_add_ons(sid = :unset) ⇒ Twilio::REST::Preview::Marketplace::InstalledAddOnInstance, Twilio::REST::Preview::Marketplace::InstalledAddOnList
-
#marketplace ⇒ Object
Version marketplace of preview.
-
#rate_plans(sid = :unset) ⇒ Twilio::REST::Preview::Wireless::RatePlanInstance, Twilio::REST::Preview::Wireless::RatePlanList
-
#services(sid = :unset) ⇒ Twilio::REST::Preview::Sync::ServiceInstance, Twilio::REST::Preview::Sync::ServiceList
-
#sims(sid = :unset) ⇒ Twilio::REST::Preview::Wireless::SimInstance, Twilio::REST::Preview::Wireless::SimList
-
#sync ⇒ Object
-
#to_s ⇒ Object
Provide a user friendly representation.
-
#trusted_comms ⇒ Object
Version trusted_comms of preview.
-
#understand ⇒ Object
Version understand of preview.
-
#wireless ⇒ Object
Version wireless of preview.
Methods inherited from Domain
#absolute_url, #request
Constructor Details
#initialize(twilio) ⇒ Preview
Initialize the Preview Domain
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# File 'lib/twilio-ruby/rest/preview.rb', line 14
def initialize(twilio)
super
@base_url = 'https://preview.twilio.com'
@host = 'preview.twilio.com'
@port = 443
@bulk_exports = nil
@deployed_devices = nil
@hosted_numbers = nil
@marketplace = nil
@sync = nil
@understand = nil
@wireless = nil
@trusted_comms = nil
end
|
Instance Method Details
157
158
159
|
# File 'lib/twilio-ruby/rest/preview.rb', line 157
def assistants(sid=:unset)
self.understand.assistants(sid)
end
|
112
113
114
|
# File 'lib/twilio-ruby/rest/preview.rb', line 112
def authorization_documents(sid=:unset)
self.hosted_numbers.authorization_documents(sid)
end
|
130
131
132
|
# File 'lib/twilio-ruby/rest/preview.rb', line 130
def available_add_ons(sid=:unset)
self.marketplace.available_add_ons(sid)
end
|
189
190
191
|
# File 'lib/twilio-ruby/rest/preview.rb', line 189
def branded_channels(sid=:unset)
self.trusted_comms.branded_channels(sid)
end
|
195
196
197
|
# File 'lib/twilio-ruby/rest/preview.rb', line 195
def brands_information
self.trusted_comms.brands_information()
end
|
#bulk_exports ⇒ Object
Version bulk_exports of preview
34
35
36
|
# File 'lib/twilio-ruby/rest/preview.rb', line 34
def bulk_exports
@bulk_exports ||= BulkExports.new self
end
|
165
166
167
|
# File 'lib/twilio-ruby/rest/preview.rb', line 165
def commands(sid=:unset)
self.wireless.commands(sid)
end
|
201
202
203
|
# File 'lib/twilio-ruby/rest/preview.rb', line 201
def cps
self.trusted_comms.cps()
end
|
207
208
209
|
# File 'lib/twilio-ruby/rest/preview.rb', line 207
def current_calls
self.trusted_comms.current_calls()
end
|
#deployed_devices ⇒ Object
Version deployed_devices of preview
40
41
42
|
# File 'lib/twilio-ruby/rest/preview.rb', line 40
def deployed_devices
@deployed_devices ||= DeployedDevices.new self
end
|
94
95
96
|
# File 'lib/twilio-ruby/rest/preview.rb', line 94
def export_configuration(resource_type=:unset)
self.bulk_exports.export_configuration(resource_type)
end
|
85
86
87
|
# File 'lib/twilio-ruby/rest/preview.rb', line 85
def exports(resource_type=:unset)
self.bulk_exports.exports(resource_type)
end
|
103
104
105
|
# File 'lib/twilio-ruby/rest/preview.rb', line 103
def fleets(sid=:unset)
self.deployed_devices.fleets(sid)
end
|
121
122
123
|
# File 'lib/twilio-ruby/rest/preview.rb', line 121
def hosted_number_orders(sid=:unset)
self.hosted_numbers.hosted_number_orders(sid)
end
|
#hosted_numbers ⇒ Object
Version hosted_numbers of preview
46
47
48
|
# File 'lib/twilio-ruby/rest/preview.rb', line 46
def hosted_numbers
@hosted_numbers ||= HostedNumbers.new self
end
|
140
141
142
|
# File 'lib/twilio-ruby/rest/preview.rb', line 140
def installed_add_ons(sid=:unset)
self.marketplace.installed_add_ons(sid)
end
|
#marketplace ⇒ Object
Version marketplace of preview
52
53
54
|
# File 'lib/twilio-ruby/rest/preview.rb', line 52
def marketplace
@marketplace ||= Marketplace.new self
end
|
173
174
175
|
# File 'lib/twilio-ruby/rest/preview.rb', line 173
def rate_plans(sid=:unset)
self.wireless.rate_plans(sid)
end
|
148
149
150
|
# File 'lib/twilio-ruby/rest/preview.rb', line 148
def services(sid=:unset)
self.sync.services(sid)
end
|
181
182
183
|
# File 'lib/twilio-ruby/rest/preview.rb', line 181
def sims(sid=:unset)
self.wireless.sims(sid)
end
|
#sync ⇒ Object
58
59
60
|
# File 'lib/twilio-ruby/rest/preview.rb', line 58
def sync
@sync ||= Sync.new self
end
|
#to_s ⇒ Object
Provide a user friendly representation
213
214
215
|
# File 'lib/twilio-ruby/rest/preview.rb', line 213
def to_s
'#<Twilio::REST::Preview>'
end
|
#trusted_comms ⇒ Object
Version trusted_comms of preview
76
77
78
|
# File 'lib/twilio-ruby/rest/preview.rb', line 76
def trusted_comms
@trusted_comms ||= TrustedComms.new self
end
|
#understand ⇒ Object
Version understand of preview
64
65
66
|
# File 'lib/twilio-ruby/rest/preview.rb', line 64
def understand
@understand ||= Understand.new self
end
|
#wireless ⇒ Object
Version wireless of preview
70
71
72
|
# File 'lib/twilio-ruby/rest/preview.rb', line 70
def wireless
@wireless ||= Wireless.new self
end
|