Class: Twilio::REST::Monitor
- Inherits:
-
MonitorBase
- Object
- Domain
- MonitorBase
- Twilio::REST::Monitor
- Defined in:
- lib/twilio-ruby/rest/monitor.rb,
lib/twilio-ruby/rest/monitor/v1.rb,
lib/twilio-ruby/rest/monitor/v1/alert.rb,
lib/twilio-ruby/rest/monitor/v1/event.rb
Defined Under Namespace
Classes: V1
Instance Attribute Summary
Attributes inherited from Domain
Instance Method Summary collapse
- #alerts(sid = :unset) ⇒ Twilio::REST::Monitor::V1::AlertInstance, Twilio::REST::Monitor::V1::AlertList
- #events(sid = :unset) ⇒ Twilio::REST::Monitor::V1::EventInstance, Twilio::REST::Monitor::V1::EventList
Methods inherited from MonitorBase
Methods inherited from Domain
#absolute_url, #initialize, #request
Constructor Details
This class inherits a constructor from Twilio::REST::MonitorBase
Instance Method Details
#alerts(sid = :unset) ⇒ Twilio::REST::Monitor::V1::AlertInstance, Twilio::REST::Monitor::V1::AlertList
9 10 11 12 |
# File 'lib/twilio-ruby/rest/monitor.rb', line 9 def alerts(sid=:unset) warn "alerts is deprecated. Use v1.alerts instead." self.v1.alerts(sid) end |
#events(sid = :unset) ⇒ Twilio::REST::Monitor::V1::EventInstance, Twilio::REST::Monitor::V1::EventList
19 20 21 22 |
# File 'lib/twilio-ruby/rest/monitor.rb', line 19 def events(sid=:unset) warn "events is deprecated. Use v1.events instead." self.v1.events(sid) end |