Sha256: f282584e08a7173a5fe5b13c25d5ff296c6892911efcdc7135a35f4c7b33097d

Contents?: true

Size: 333 Bytes

Versions: 13

Compression:

Stored size: 333 Bytes

Contents

module Fog
  module Monitoring
    class Rackspace
      class Real

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