class Twilio::REST::Voice::V1::IpRecordPage
Public Class Methods
new(version, response, solution)
click to toggle source
Initialize the IpRecordPage
@param [Version] version Version
that contains the resource @param [Response] response Response
from the API @param [Hash] solution Path solution for the resource @return [IpRecordPage] IpRecordPage
Calls superclass method
Twilio::REST::Page::new
# File lib/twilio-ruby/rest/voice/v1/ip_record.rb 141 def initialize(version, response, solution) 142 super(version, response) 143 144 # Path Solution 145 @solution = solution 146 end
Public Instance Methods
get_instance(payload)
click to toggle source
Build an instance of IpRecordInstance
@param [Hash] payload Payload response from the API @return [IpRecordInstance] IpRecordInstance
# File lib/twilio-ruby/rest/voice/v1/ip_record.rb 152 def get_instance(payload) 153 IpRecordInstance.new(@version, payload, ) 154 end
to_s()
click to toggle source
Provide a user friendly representation
# File lib/twilio-ruby/rest/voice/v1/ip_record.rb 158 def to_s 159 '<Twilio.Voice.V1.IpRecordPage>' 160 end