class Twilio::REST::Insights::V1::CallContext::CallSummaryPage
Public Class Methods
new(version, response, solution)
click to toggle source
Initialize the CallSummaryPage
@param [Version] version Version
that contains the resource @param [Response] response Response
from the API @param [Hash] solution Path solution for the resource @return [CallSummaryPage] CallSummaryPage
Calls superclass method
Twilio::REST::Page::new
# File lib/twilio-ruby/rest/insights/v1/call/summary.rb 41 def initialize(version, response, solution) 42 super(version, response) 43 44 # Path Solution 45 @solution = solution 46 end
Public Instance Methods
get_instance(payload)
click to toggle source
Build an instance of CallSummaryInstance
@param [Hash] payload Payload response from the API @return [CallSummaryInstance] CallSummaryInstance
# File lib/twilio-ruby/rest/insights/v1/call/summary.rb 52 def get_instance(payload) 53 CallSummaryInstance.new(@version, payload, call_sid: @solution[:call_sid], ) 54 end
to_s()
click to toggle source
Provide a user friendly representation
# File lib/twilio-ruby/rest/insights/v1/call/summary.rb 58 def to_s 59 '<Twilio.Insights.V1.CallSummaryPage>' 60 end