Sha256: 8b3a8748dda403ddde0bdc0514dcbb26ba923368278d1445e20f8547e68e6230

Contents?: true

Size: 824 Bytes

Versions: 47

Compression:

Stored size: 824 Bytes

Contents

module Twilio
  module REST
    class Monitor < MonitorBase
      ##
      # @param [String] sid The unique string that we created to identify the Alert
      #   resource.
      # @return [Twilio::REST::Monitor::V1::AlertInstance] if sid was passed.
      # @return [Twilio::REST::Monitor::V1::AlertList]
      def alerts(sid=:unset)
        warn "alerts is deprecated. Use v1.alerts instead."
        self.v1.alerts(sid)
      end

      ##
      # @param [String] sid The unique string that we created to identify the Event
      #   resource.
      # @return [Twilio::REST::Monitor::V1::EventInstance] if sid was passed.
      # @return [Twilio::REST::Monitor::V1::EventList]
      def events(sid=:unset)
        warn "events is deprecated. Use v1.events instead."
        self.v1.events(sid)
      end
    end
  end
end

Version data entries

47 entries across 47 versions & 2 rubygems

Version Path
twilio-ruby-7.3.6 lib/twilio-ruby/rest/monitor.rb
twilio-ruby-7.3.5 lib/twilio-ruby/rest/monitor.rb
twilio-ruby-7.3.4 lib/twilio-ruby/rest/monitor.rb
twilio-ruby-7.3.3 lib/twilio-ruby/rest/monitor.rb
twilio-ruby-7.3.2 lib/twilio-ruby/rest/monitor.rb
twilio-ruby-7.3.1 lib/twilio-ruby/rest/monitor.rb
twilio-ruby-7.3.0 lib/twilio-ruby/rest/monitor.rb
twilio-ruby-7.2.4 lib/twilio-ruby/rest/monitor.rb
twilio-ruby-7.2.3 lib/twilio-ruby/rest/monitor.rb
twilio-ruby-7.2.2 lib/twilio-ruby/rest/monitor.rb
twilio-ruby-7.2.1 lib/twilio-ruby/rest/monitor.rb
twilio-ruby-7.2.0 lib/twilio-ruby/rest/monitor.rb
twilio-ruby-7.1.1 lib/twilio-ruby/rest/monitor.rb
twilio-ruby-7.0.2 lib/twilio-ruby/rest/monitor.rb
twilio-ruby-7.0.1 lib/twilio-ruby/rest/monitor.rb
twilio-ruby-7.0.0 lib/twilio-ruby/rest/monitor.rb
twilio-ruby-7.0.0.pre.rc.3 lib/twilio-ruby/rest/monitor.rb
twilio-ruby-7.0.0.pre.rc.2 lib/twilio-ruby/rest/monitor.rb
twilio-ruby-6.12.1 lib/twilio-ruby/rest/monitor.rb
twilio-ruby-6.12.0 lib/twilio-ruby/rest/monitor.rb