class Twilio::REST::Conversations::V1::ConfigurationContext::WebhookPage
Public Class Methods
new(version, response, solution)
click to toggle source
Initialize the WebhookPage
@param [Version] version Version
that contains the resource @param [Response] response Response
from the API @param [Hash] solution Path solution for the resource @return [WebhookPage] WebhookPage
Calls superclass method
Twilio::REST::Page::new
# File lib/twilio-ruby/rest/conversations/v1/configuration/webhook.rb 40 def initialize(version, response, solution) 41 super(version, response) 42 43 # Path Solution 44 @solution = solution 45 end
Public Instance Methods
get_instance(payload)
click to toggle source
Build an instance of WebhookInstance
@param [Hash] payload Payload response from the API @return [WebhookInstance] WebhookInstance
# File lib/twilio-ruby/rest/conversations/v1/configuration/webhook.rb 51 def get_instance(payload) 52 WebhookInstance.new(@version, payload, ) 53 end
to_s()
click to toggle source
Provide a user friendly representation
# File lib/twilio-ruby/rest/conversations/v1/configuration/webhook.rb 57 def to_s 58 '<Twilio.Conversations.V1.WebhookPage>' 59 end