Sha256: 075d5e203057c9e3f573327663c176e7b57bf2212ff67b2ec34b389a4ae5d0e4

Contents?: true

Size: 419 Bytes

Versions: 13

Compression:

Stored size: 419 Bytes

Contents

module Fog
  module Monitoring
    class Rackspace
      class Real

        def evaluate_alarm_example(id, options = {})
          options ||= {}
          data = {:values => options.dup}
          request(
            :body     => JSON.encode(data),
            :expects  => [200],
            :method   => 'POST',
            :path     => "alarm_examples/#{id}"
          )
        end
      end
    end
  end
end


Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
rackspace-monitoring-0.4.1 lib/rackspace-monitoring/monitoring/requests/evaluate_alarm_example.rb
rackspace-monitoring-0.4.0 lib/rackspace-monitoring/monitoring/requests/evaluate_alarm_example.rb
rackspace-monitoring-0.3.1 lib/rackspace-monitoring/monitoring/requests/evaluate_alarm_example.rb
rackspace-monitoring-0.2.18 lib/rackspace-monitoring/monitoring/requests/evaluate_alarm_example.rb
rackspace-monitoring-0.2.15 lib/rackspace-monitoring/monitoring/requests/evaluate_alarm_example.rb
rackspace-monitoring-0.2.14 lib/rackspace-monitoring/monitoring/requests/evaluate_alarm_example.rb
rackspace-monitoring-0.2.13 lib/rackspace-monitoring/monitoring/requests/evaluate_alarm_example.rb
rackspace-monitoring-0.2.12 lib/rackspace-monitoring/monitoring/requests/evaluate_alarm_example.rb
rackspace-monitoring-0.2.11 lib/rackspace-monitoring/monitoring/requests/evaluate_alarm_example.rb
rackspace-monitoring-0.2.10 lib/rackspace-monitoring/monitoring/requests/evaluate_alarm_example.rb
rackspace-monitoring-0.2.9 lib/rackspace-monitoring/monitoring/requests/evaluate_alarm_example.rb
rackspace-monitoring-0.2.8 lib/rackspace-monitoring/monitoring/requests/evaluate_alarm_example.rb
rackspace-monitoring-0.2.7 lib/rackspace-monitoring/monitoring/requests/evaluate_alarm_example.rb