Sha256: 990cc344359dd73a0d98d1097e7e6c19249c5faf5261a1aa427dbb34d96a7fa1

Contents?: true

Size: 360 Bytes

Versions: 3

Compression:

Stored size: 360 Bytes

Contents

module Fog
  module Monitoring
    class Rackspace
      class Real

        def create_entity(options = {})
          data = options.dup
          request(
            :body     => MultiJson.encode(data),
            :expects  => [201],
            :method   => 'POST',
            :path     => 'entities'
          )
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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