Class: Twilio::REST::Insights::V3
- Defined in:
- lib/twilio-ruby/rest/insights/v3.rb,
lib/twilio-ruby/rest/insights/v3/query.rb,
lib/twilio-ruby/rest/insights/v3/metadata.rb
Defined Under Namespace
Classes: MetadataInstance, MetadataList, MetadataListResponse, MetadataPage, MetadataPageMetadata, QueryInstance, QueryList, QueryListResponse, QueryPage, QueryPageMetadata
Instance Attribute Summary
Attributes inherited from Version
Instance Method Summary collapse
-
#initialize(domain) ⇒ V3
constructor
Initialize the V3 version of Insights.
- #metadata ⇒ Twilio::REST::Insights::V3::MetadataList
- #query ⇒ Twilio::REST::Insights::V3::QueryList
-
#to_s ⇒ Object
Provide a user friendly representation.
Methods inherited from Version
#absolute_url, #create, #create_with_metadata, #delete, #delete_with_metadata, #exception, #fetch, #fetch_with_metadata, #page, #patch, #read_limits, #relative_uri, #request, #stream, #stream_with_metadata, #update, #update_with_metadata
Constructor Details
#initialize(domain) ⇒ V3
Initialize the V3 version of Insights
21 22 23 24 25 26 |
# File 'lib/twilio-ruby/rest/insights/v3.rb', line 21 def initialize(domain) super @version = 'v3' @metadata = nil @query = nil end |
Instance Method Details
#metadata ⇒ Twilio::REST::Insights::V3::MetadataList
30 31 32 |
# File 'lib/twilio-ruby/rest/insights/v3.rb', line 30 def @metadata ||= MetadataList.new self end |
#query ⇒ Twilio::REST::Insights::V3::QueryList
35 36 37 |
# File 'lib/twilio-ruby/rest/insights/v3.rb', line 35 def query @query ||= QueryList.new self end |
#to_s ⇒ Object
Provide a user friendly representation
40 41 42 |
# File 'lib/twilio-ruby/rest/insights/v3.rb', line 40 def to_s '<Twilio::REST::Insights::V3>'; end |