class Twilio::REST::Wireless::V1::CommandPage
Public Class Methods
new(version, response, solution)
click to toggle source
Initialize the CommandPage
@param [Version] version Version
that contains the resource @param [Response] response Response
from the API @param [Hash] solution Path solution for the resource @return [CommandPage] CommandPage
Calls superclass method
Twilio::REST::Page::new
# File lib/twilio-ruby/rest/wireless/v1/command.rb 204 def initialize(version, response, solution) 205 super(version, response) 206 207 # Path Solution 208 @solution = solution 209 end
Public Instance Methods
get_instance(payload)
click to toggle source
Build an instance of CommandInstance
@param [Hash] payload Payload response from the API @return [CommandInstance] CommandInstance
# File lib/twilio-ruby/rest/wireless/v1/command.rb 215 def get_instance(payload) 216 CommandInstance.new(@version, payload, ) 217 end
to_s()
click to toggle source
Provide a user friendly representation
# File lib/twilio-ruby/rest/wireless/v1/command.rb 221 def to_s 222 '<Twilio.Wireless.V1.CommandPage>' 223 end