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.0.0.pre.rc.1 lib/twilio-ruby/rest/monitor.rb
twilio-ruby-6.11.0 lib/twilio-ruby/rest/monitor.rb
twilio-ruby-6.9.1 lib/twilio-ruby/rest/monitor.rb
twilio-ruby-6.9.0 lib/twilio-ruby/rest/monitor.rb
twilio-ruby-6.8.3 lib/twilio-ruby/rest/monitor.rb
twilio-ruby-6.8.2 lib/twilio-ruby/rest/monitor.rb
twilio-ruby-6.8.1 lib/twilio-ruby/rest/monitor.rb
twilio-ruby-6.8.0 lib/twilio-ruby/rest/monitor.rb
twilio-ruby-6.7.1 lib/twilio-ruby/rest/monitor.rb
twilio-ruby-6.7.0 lib/twilio-ruby/rest/monitor.rb
twilio-ruby-6.6.0 lib/twilio-ruby/rest/monitor.rb
whoosh-ruby-0.1.5 lib/twilio-ruby/rest/monitor.rb
twilio-ruby-6.5.0 lib/twilio-ruby/rest/monitor.rb
twilio-ruby-6.4.0 lib/twilio-ruby/rest/monitor.rb
twilio-ruby-6.3.1 lib/twilio-ruby/rest/monitor.rb
twilio-ruby-6.3.0 lib/twilio-ruby/rest/monitor.rb
twilio-ruby-6.2.0 lib/twilio-ruby/rest/monitor.rb
twilio-ruby-6.1.0 lib/twilio-ruby/rest/monitor.rb
twilio-ruby-6.0.2 lib/twilio-ruby/rest/monitor.rb
whoosh-ruby-0.1.4 lib/twilio-ruby/rest/monitor.rb