Sha256: f7a3574df10a57281a0a276dac7e351ed23dcdc7670ce36d1164326bb7ad5e89

Contents?: true

Size: 363 Bytes

Versions: 13

Compression:

Stored size: 363 Bytes

Contents

module Fog
  module Monitoring
    class Rackspace
      class Real

        def update_check(entity_id, id, options)
          request(
            :body     => JSON.encode(options),
            :expects  => [204],
            :method   => 'PUT',
            :path     => "entities/#{entity_id}/checks/#{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/update_check.rb
rackspace-monitoring-0.4.0 lib/rackspace-monitoring/monitoring/requests/update_check.rb
rackspace-monitoring-0.3.1 lib/rackspace-monitoring/monitoring/requests/update_check.rb
rackspace-monitoring-0.2.18 lib/rackspace-monitoring/monitoring/requests/update_check.rb
rackspace-monitoring-0.2.15 lib/rackspace-monitoring/monitoring/requests/update_check.rb
rackspace-monitoring-0.2.14 lib/rackspace-monitoring/monitoring/requests/update_check.rb
rackspace-monitoring-0.2.13 lib/rackspace-monitoring/monitoring/requests/update_check.rb
rackspace-monitoring-0.2.12 lib/rackspace-monitoring/monitoring/requests/update_check.rb
rackspace-monitoring-0.2.11 lib/rackspace-monitoring/monitoring/requests/update_check.rb
rackspace-monitoring-0.2.10 lib/rackspace-monitoring/monitoring/requests/update_check.rb
rackspace-monitoring-0.2.9 lib/rackspace-monitoring/monitoring/requests/update_check.rb
rackspace-monitoring-0.2.8 lib/rackspace-monitoring/monitoring/requests/update_check.rb
rackspace-monitoring-0.2.7 lib/rackspace-monitoring/monitoring/requests/update_check.rb