Method: Twilio::REST::Monitor::V1::AlertPage#get_instance

Defined in:
lib/twilio-ruby/rest/monitor/v1/alert.rb

#get_instance(payload) ⇒ AlertInstance

Build an instance of AlertInstance

Parameters:

  • payload (Hash)

    Payload response from the API

Returns:



216
217
218
# File 'lib/twilio-ruby/rest/monitor/v1/alert.rb', line 216

def get_instance(payload)
    AlertInstance.new(@version, payload)
end