Sha256: f46ad32b1bbbaf57c7960160f4217f2df25715447435ac1f9220ff5b04de34c6

Contents?: true

Size: 365 Bytes

Versions: 7

Compression:

Stored size: 365 Bytes

Contents

module Fog
  module Monitoring
    class Rackspace
      class Real

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rackspace-monitoring-0.2.6 lib/rackspace-monitoring/monitoring/requests/update_check.rb
rackspace-monitoring-0.2.5 lib/rackspace-monitoring/monitoring/requests/update_check.rb
rackspace-monitoring-0.2.4 lib/rackspace-monitoring/monitoring/requests/update_check.rb
rackspace-monitoring-0.2.3 lib/rackspace-monitoring/monitoring/requests/update_check.rb
rackspace-monitoring-0.2.2 lib/rackspace-monitoring/monitoring/requests/update_check.rb
rackspace-monitoring-0.2.1 lib/rackspace-monitoring/monitoring/requests/update_check.rb
rackspace-monitoring-0.2.0 lib/rackspace-monitoring/monitoring/requests/update_check.rb