Sha256: ee8def8734106077ba9b6717d517ea3e0a2c11f5ac681c378a13e931c928276f
Contents?: true
Size: 390 Bytes
Versions: 1
Compression:
Stored size: 390 Bytes
Contents
module Fog module Monitoring class Rackspace class Real def create_alarm(entity_id, options = {}) data = options.dup request( :body => MultiJson.encode(data), :expects => [201], :method => 'POST', :path => "entities/#{entity_id}/alarms" ) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rackspace-monitoring-0.1.4 | lib/rackspace-monitoring/monitoring/requests/create_alarm.rb |