Sha256: 80c420ca872539be9e020b7354a262a929a2cc48152bbc34a77b231552e8802e

Contents?: true

Size: 357 Bytes

Versions: 43

Compression:

Stored size: 357 Bytes

Contents

module Fog
  module Monitoring
    class OpenStack
      class Real
        def update_alarm(id, options)
          request(
            :expects => [200],
            :method  => 'PUT',
            :path    => "alarms/#{id}",
            :body    => Fog::JSON.encode(options)
          )
        end
      end

      class Mock
      end
    end
  end
end

Version data entries

43 entries across 41 versions & 3 rubygems

Version Path
fog-openstack-0.1.31 lib/fog/monitoring/openstack/requests/update_alarm.rb
fog-openstack-0.3.10 lib/fog/monitoring/openstack/requests/update_alarm.rb
fog-openstack-0.1.30 lib/fog/monitoring/openstack/requests/update_alarm.rb
fog-openstack-0.1.29 lib/fog/monitoring/openstack/requests/update_alarm.rb
fog-openstack-0.3.9 lib/fog/monitoring/openstack/requests/update_alarm.rb
fog-openstack-0.1.28 lib/fog/monitoring/openstack/requests/update_alarm.rb
fog-openstack-0.3.8 lib/fog/monitoring/openstack/requests/update_alarm.rb
fog-openstack-0.3.7 lib/fog/monitoring/openstack/requests/update_alarm.rb
fog-openstack-0.3.6 lib/fog/monitoring/openstack/requests/update_alarm.rb
fog-openstack-0.3.5 lib/fog/monitoring/openstack/requests/update_alarm.rb
fog-openstack-0.3.4 lib/fog/monitoring/openstack/requests/update_alarm.rb
fog-openstack-0.3.3 lib/fog/monitoring/openstack/requests/update_alarm.rb
fog-openstack-0.3.2 lib/fog/monitoring/openstack/requests/update_alarm.rb
fog-openstack-0.3.0 lib/fog/monitoring/openstack/requests/update_alarm.rb
fog-openstack-0.2.4 lib/fog/monitoring/openstack/requests/update_alarm.rb
fog-openstack-0.2.3 lib/fog/monitoring/openstack/requests/update_alarm.rb
fog-openstack-0.2.2 lib/fog/monitoring/openstack/requests/update_alarm.rb
fog-openstack-0.2.1 lib/fog/monitoring/openstack/requests/update_alarm.rb
fog-openstack-0.2.0 lib/fog/monitoring/openstack/requests/update_alarm.rb
fog-zj-0.1.28 lib/fog/monitoring/openstack/requests/update_alarm.rb