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

- old
+ new

@@ -1,40 +1,40 @@ ## # This code was generated by # \ / _ _ _| _ _ # | (_)\/(_)(_|\/| |(/_ v1.0.0 -# / / +# / / module Twilio module REST class Monitor < Domain ## # Initialize the Monitor Domain def initialize(twilio) super - + @base_url = 'https://monitor.twilio.com' @host = 'monitor.twilio.com' @port = 443 - + # Versions @v1 = nil end - + ## # Version v1 of monitor def v1 @v1 ||= V1.new self end - + def alerts self.v1.alerts end - + def events self.v1.events end - + ## # Provide a user friendly representation def to_s '#<Twilio::REST::Monitor>' end \ No newline at end of file