Sha256: 0facdd6f24017752174a18bbf74454bf314d1168640afdae3aa8dcc38666d62e

Contents?: true

Size: 424 Bytes

Versions: 1

Compression:

Stored size: 424 Bytes

Contents

module Fog
  module Monitoring
    class Rackspace
      class Real

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


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rackspace-monitoring-0.1.4 lib/rackspace-monitoring/monitoring/requests/evaluate_alarm_example.rb