class Twilio::REST::Voice::V1::SourceIpMappingPage
Public Class Methods
new(version, response, solution)
click to toggle source
Initialize the SourceIpMappingPage
@param [Version] version Version
that contains the resource @param [Response] response Response
from the API @param [Hash] solution Path solution for the resource @return [SourceIpMappingPage] SourceIpMappingPage
Calls superclass method
Twilio::REST::Page::new
# File lib/twilio-ruby/rest/voice/v1/source_ip_mapping.rb 135 def initialize(version, response, solution) 136 super(version, response) 137 138 # Path Solution 139 @solution = solution 140 end
Public Instance Methods
get_instance(payload)
click to toggle source
Build an instance of SourceIpMappingInstance
@param [Hash] payload Payload response from the API @return [SourceIpMappingInstance] SourceIpMappingInstance
# File lib/twilio-ruby/rest/voice/v1/source_ip_mapping.rb 146 def get_instance(payload) 147 SourceIpMappingInstance.new(@version, payload, ) 148 end
to_s()
click to toggle source
Provide a user friendly representation
# File lib/twilio-ruby/rest/voice/v1/source_ip_mapping.rb 152 def to_s 153 '<Twilio.Voice.V1.SourceIpMappingPage>' 154 end