class Twilio::REST::Messaging::V1::ServiceContext::UsAppToPersonPage
PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
Public Class Methods
new(version, response, solution)
click to toggle source
Initialize the UsAppToPersonPage
@param [Version] version Version
that contains the resource @param [Response] response Response
from the API @param [Hash] solution Path solution for the resource @return [UsAppToPersonPage] UsAppToPersonPage
Calls superclass method
Twilio::REST::Page::new
# File lib/twilio-ruby/rest/messaging/v1/service/us_app_to_person.rb 160 def initialize(version, response, solution) 161 super(version, response) 162 163 # Path Solution 164 @solution = solution 165 end
Public Instance Methods
get_instance(payload)
click to toggle source
Build an instance of UsAppToPersonInstance
@param [Hash] payload Payload response from the API @return [UsAppToPersonInstance] UsAppToPersonInstance
# File lib/twilio-ruby/rest/messaging/v1/service/us_app_to_person.rb 171 def get_instance(payload) 172 UsAppToPersonInstance.new( 173 @version, 174 payload, 175 messaging_service_sid: @solution[:messaging_service_sid], 176 ) 177 end
to_s()
click to toggle source
Provide a user friendly representation
# File lib/twilio-ruby/rest/messaging/v1/service/us_app_to_person.rb 181 def to_s 182 '<Twilio.Messaging.V1.UsAppToPersonPage>' 183 end