lib/twilio-ruby/rest/monitor.rb in twilio-ruby-5.0.0.rc26 vs lib/twilio-ruby/rest/monitor.rb in twilio-ruby-5.0.0

- old
+ new

@@ -24,13 +24,21 @@ # Version v1 of monitor def v1 @v1 ||= V1.new self end + ## + # @param [String] sid The sid + # @return [Twilio::REST::Monitor::V1::AlertInstance] if sid was passed. + # @return [Twilio::REST::Monitor::V1::AlertList] def alerts(sid=:unset) self.v1.alerts(sid) end + ## + # @param [String] sid The sid + # @return [Twilio::REST::Monitor::V1::EventInstance] if sid was passed. + # @return [Twilio::REST::Monitor::V1::EventList] def events(sid=:unset) self.v1.events(sid) end ## \ No newline at end of file