class Twilio::REST::Wireless::V1::SimPage
Public Class Methods
new(version, response, solution)
click to toggle source
Initialize the SimPage
@param [Version] version Version
that contains the resource @param [Response] response Response
from the API @param [Hash] solution Path solution for the resource @return [SimPage] SimPage
Calls superclass method
Twilio::REST::Page::new
# File lib/twilio-ruby/rest/wireless/v1/sim.rb 167 def initialize(version, response, solution) 168 super(version, response) 169 170 # Path Solution 171 @solution = solution 172 end
Public Instance Methods
get_instance(payload)
click to toggle source
Build an instance of SimInstance
@param [Hash] payload Payload response from the API @return [SimInstance] SimInstance
# File lib/twilio-ruby/rest/wireless/v1/sim.rb 178 def get_instance(payload) 179 SimInstance.new(@version, payload, ) 180 end
to_s()
click to toggle source
Provide a user friendly representation
# File lib/twilio-ruby/rest/wireless/v1/sim.rb 184 def to_s 185 '<Twilio.Wireless.V1.SimPage>' 186 end