Sha256: 723774443d88fcea5a515a7a8f52271e104066668707f89a028ff746bfe9ddbf

Contents?: true

Size: 355 Bytes

Versions: 13

Compression:

Stored size: 355 Bytes

Contents

module Fog
  module Monitoring
    class Rackspace
      class Real

        def create_entity(options = {})
          data = options.dup
          request(
            :body     => JSON.encode(data),
            :expects  => [201],
            :method   => 'POST',
            :path     => 'entities'
          )
        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/create_entity.rb
rackspace-monitoring-0.4.0 lib/rackspace-monitoring/monitoring/requests/create_entity.rb
rackspace-monitoring-0.3.1 lib/rackspace-monitoring/monitoring/requests/create_entity.rb
rackspace-monitoring-0.2.18 lib/rackspace-monitoring/monitoring/requests/create_entity.rb
rackspace-monitoring-0.2.15 lib/rackspace-monitoring/monitoring/requests/create_entity.rb
rackspace-monitoring-0.2.14 lib/rackspace-monitoring/monitoring/requests/create_entity.rb
rackspace-monitoring-0.2.13 lib/rackspace-monitoring/monitoring/requests/create_entity.rb
rackspace-monitoring-0.2.12 lib/rackspace-monitoring/monitoring/requests/create_entity.rb
rackspace-monitoring-0.2.11 lib/rackspace-monitoring/monitoring/requests/create_entity.rb
rackspace-monitoring-0.2.10 lib/rackspace-monitoring/monitoring/requests/create_entity.rb
rackspace-monitoring-0.2.9 lib/rackspace-monitoring/monitoring/requests/create_entity.rb
rackspace-monitoring-0.2.8 lib/rackspace-monitoring/monitoring/requests/create_entity.rb
rackspace-monitoring-0.2.7 lib/rackspace-monitoring/monitoring/requests/create_entity.rb