class Twilio::REST::Events::V1::EventTypePage
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 EventTypePage
@param [Version] version Version
that contains the resource @param [Response] response Response
from the API @param [Hash] solution Path solution for the resource @return [EventTypePage] EventTypePage
Calls superclass method
Twilio::REST::Page::new
# File lib/twilio-ruby/rest/events/v1/event_type.rb 131 def initialize(version, response, solution) 132 super(version, response) 133 134 # Path Solution 135 @solution = solution 136 end
Public Instance Methods
get_instance(payload)
click to toggle source
Build an instance of EventTypeInstance
@param [Hash] payload Payload response from the API @return [EventTypeInstance] EventTypeInstance
# File lib/twilio-ruby/rest/events/v1/event_type.rb 142 def get_instance(payload) 143 EventTypeInstance.new(@version, payload, ) 144 end
to_s()
click to toggle source
Provide a user friendly representation
# File lib/twilio-ruby/rest/events/v1/event_type.rb 148 def to_s 149 '<Twilio.Events.V1.EventTypePage>' 150 end