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
132 133 134 135 136 137 |
# File 'lib/twilio-ruby/rest/numbers/v1/porting_port_in.rb', line 132 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
143 144 145 |
# File 'lib/twilio-ruby/rest/numbers/v1/porting_port_in.rb', line 143 def get_instance(payload) PortingPortInInstance.new(@version, payload) end |
#to_s ⇒ Object
Provide a user friendly representation
149 150 151 |
# File 'lib/twilio-ruby/rest/numbers/v1/porting_port_in.rb', line 149 def to_s '<Twilio.Numbers.V1.PortingPortInPage>' end |