Sha256: 1591ca9e3ad477e582fc2609d48fd1d01e3b0f74d03b66382157a8c42eb72b4e

Contents?: true

Size: 368 Bytes

Versions: 2

Compression:

Stored size: 368 Bytes

Contents

module Fog
  module Monitoring
    class Rackspace
      class Real

        def update_check(entity_id, id, options)
          request(
            :body     => MultiJson.encode(options),
            :expects  => [204],
            :method   => 'PUT',
            :path     => "entities/#{entity_id}/checks/#{id}"
          )
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rackspace-monitoring-0.1.4 lib/rackspace-monitoring/monitoring/requests/update_check.rb
rackspace-monitoring-0.1.3 lib/rackspace-monitoring/monitoring/requests/update_check.rb