Sha256: e27af5c274509810ced94f90941db3d4b3c3eb84f78499424822098b81e46e9e

Contents?: true

Size: 352 Bytes

Versions: 1

Compression:

Stored size: 352 Bytes

Contents

module Fog
  module Monitoring
    class Rackspace
      class Real

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rackspace-monitoring-0.1.2 lib/rackspace-monitoring/monitoring/requests/update_entity.rb