Class: Twilio::REST::Numbers::V1::PortingPortInPage
- Defined in:
- lib/twilio-ruby/rest/numbers/v1/porting_port_in.rb
Constant Summary
Constants inherited from Page
Instance Method Summary collapse
-
#get_instance(payload) ⇒ PortingPortInInstance
Build an instance of PortingPortInInstance.
-
#initialize(version, response, solution) ⇒ PortingPortInPage
constructor
Initialize the PortingPortInPage.
-
#to_s ⇒ Object
Provide a user friendly representation.
Methods inherited from Page
#each, #load_page, #next_page, #next_page_url, #previous_page, #previous_page_url, #process_response
Constructor Details
#initialize(version, response, solution) ⇒ PortingPortInPage
Initialize the PortingPortInPage
220 221 222 223 224 225 |
# File 'lib/twilio-ruby/rest/numbers/v1/porting_port_in.rb', line 220 def initialize(version, response, solution) super(version, response) # Path Solution @solution = solution end |
Instance Method Details
#get_instance(payload) ⇒ PortingPortInInstance
Build an instance of PortingPortInInstance
231 232 233 |
# File 'lib/twilio-ruby/rest/numbers/v1/porting_port_in.rb', line 231 def get_instance(payload) PortingPortInInstance.new(@version, payload) end |
#to_s ⇒ Object
Provide a user friendly representation
237 238 239 |
# File 'lib/twilio-ruby/rest/numbers/v1/porting_port_in.rb', line 237 def to_s '<Twilio.Numbers.V1.PortingPortInPage>' end |