Class: Twilio::REST::Insights
- Defined in:
- lib/twilio-ruby/rest/insights.rb,
lib/twilio-ruby/rest/insights/v1.rb,
lib/twilio-ruby/rest/insights/v1/call.rb,
lib/twilio-ruby/rest/insights/v1/room.rb,
lib/twilio-ruby/rest/insights/v1/setting.rb,
lib/twilio-ruby/rest/insights/v1/call/event.rb,
lib/twilio-ruby/rest/insights/v1/conference.rb,
lib/twilio-ruby/rest/insights/v1/call/metric.rb,
lib/twilio-ruby/rest/insights/v1/call/summary.rb,
lib/twilio-ruby/rest/insights/v1/call_summaries.rb,
lib/twilio-ruby/rest/insights/v1/call/annotation.rb,
lib/twilio-ruby/rest/insights/v1/room/participant.rb,
lib/twilio-ruby/rest/insights/v1/conference/conference_participant.rb
Defined Under Namespace
Classes: V1
Instance Attribute Summary
Attributes inherited from Domain
Instance Method Summary collapse
- #call_summaries ⇒ Twilio::REST::Insights::V1::CallSummariesInstance
- #calls(sid = :unset) ⇒ Twilio::REST::Insights::V1::CallInstance, Twilio::REST::Insights::V1::CallList
- #conferences(conference_sid = :unset) ⇒ Twilio::REST::Insights::V1::ConferenceInstance, Twilio::REST::Insights::V1::ConferenceList
-
#initialize(twilio) ⇒ Insights
constructor
Initialize the Insights Domain.
- #rooms(room_sid = :unset) ⇒ Twilio::REST::Insights::V1::RoomInstance, Twilio::REST::Insights::V1::RoomList
- #settings ⇒ Twilio::REST::Insights::V1::SettingInstance
-
#to_s ⇒ Object
Provide a user friendly representation.
-
#v1 ⇒ Object
Version v1 of insights.
Methods inherited from Domain
Constructor Details
#initialize(twilio) ⇒ Insights
Initialize the Insights Domain
14 15 16 17 18 19 20 21 22 23 |
# File 'lib/twilio-ruby/rest/insights.rb', line 14 def initialize(twilio) super @base_url = 'https://insights.twilio.com' @host = 'insights.twilio.com' @port = 443 # Versions @v1 = nil end |
Instance Method Details
#call_summaries ⇒ Twilio::REST::Insights::V1::CallSummariesInstance
47 48 49 |
# File 'lib/twilio-ruby/rest/insights.rb', line 47 def call_summaries self.v1.call_summaries() end |
#calls(sid = :unset) ⇒ Twilio::REST::Insights::V1::CallInstance, Twilio::REST::Insights::V1::CallList
41 42 43 |
# File 'lib/twilio-ruby/rest/insights.rb', line 41 def calls(sid=:unset) self.v1.calls(sid) end |
#conferences(conference_sid = :unset) ⇒ Twilio::REST::Insights::V1::ConferenceInstance, Twilio::REST::Insights::V1::ConferenceList
55 56 57 |
# File 'lib/twilio-ruby/rest/insights.rb', line 55 def conferences(conference_sid=:unset) self.v1.conferences(conference_sid) end |
#rooms(room_sid = :unset) ⇒ Twilio::REST::Insights::V1::RoomInstance, Twilio::REST::Insights::V1::RoomList
63 64 65 |
# File 'lib/twilio-ruby/rest/insights.rb', line 63 def rooms(room_sid=:unset) self.v1.rooms(room_sid) end |
#settings ⇒ Twilio::REST::Insights::V1::SettingInstance
33 34 35 |
# File 'lib/twilio-ruby/rest/insights.rb', line 33 def settings self.v1.settings() end |
#to_s ⇒ Object
Provide a user friendly representation
69 70 71 |
# File 'lib/twilio-ruby/rest/insights.rb', line 69 def to_s '#<Twilio::REST::Insights>' end |