class Twilio::REST::Insights::V1::CallSummariesPage

Public Class Methods

new(version, response, solution) click to toggle source

Initialize the CallSummariesPage @param [Version] version Version that contains the resource @param [Response] response Response from the API @param [Hash] solution Path solution for the resource @return [CallSummariesPage] CallSummariesPage

Calls superclass method Twilio::REST::Page::new
    # File lib/twilio-ruby/rest/insights/v1/call_summaries.rb
236 def initialize(version, response, solution)
237   super(version, response)
238 
239   # Path Solution
240   @solution = solution
241 end

Public Instance Methods

get_instance(payload) click to toggle source

Build an instance of CallSummariesInstance @param [Hash] payload Payload response from the API @return [CallSummariesInstance] CallSummariesInstance

    # File lib/twilio-ruby/rest/insights/v1/call_summaries.rb
247 def get_instance(payload)
248   CallSummariesInstance.new(@version, payload, )
249 end
to_s() click to toggle source

Provide a user friendly representation

    # File lib/twilio-ruby/rest/insights/v1/call_summaries.rb
253 def to_s
254   '<Twilio.Insights.V1.CallSummariesPage>'
255 end