Class: Twilio::REST::Verify::V2::ServiceContext::MessagingConfigurationPage
- Inherits:
-
Page
- Object
- Page
- Twilio::REST::Verify::V2::ServiceContext::MessagingConfigurationPage
- Defined in:
- lib/twilio-ruby/rest/verify/v2/service/messaging_configuration.rb
Constant Summary
Constants inherited from Page
Instance Method Summary collapse
-
#get_instance(payload) ⇒ MessagingConfigurationInstance
Build an instance of MessagingConfigurationInstance.
-
#initialize(version, response, solution) ⇒ MessagingConfigurationPage
constructor
Initialize the MessagingConfigurationPage.
-
#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) ⇒ MessagingConfigurationPage
Initialize the MessagingConfigurationPage
259 260 261 262 263 264 |
# File 'lib/twilio-ruby/rest/verify/v2/service/messaging_configuration.rb', line 259 def initialize(version, response, solution) super(version, response) # Path Solution @solution = solution end |
Instance Method Details
#get_instance(payload) ⇒ MessagingConfigurationInstance
Build an instance of MessagingConfigurationInstance
270 271 272 |
# File 'lib/twilio-ruby/rest/verify/v2/service/messaging_configuration.rb', line 270 def get_instance(payload) MessagingConfigurationInstance.new(@version, payload, service_sid: @solution[:service_sid]) end |
#to_s ⇒ Object
Provide a user friendly representation
276 277 278 |
# File 'lib/twilio-ruby/rest/verify/v2/service/messaging_configuration.rb', line 276 def to_s '<Twilio.Verify.V2.MessagingConfigurationPage>' end |