Sha256: 74e451422f4206369bce3107d7c99cbdc631db1b58db6d41f4bf23d33d6c6d8d

Contents?: true

Size: 397 Bytes

Versions: 43

Compression:

Stored size: 397 Bytes

Contents

module Fog
  module Monitoring
    class OpenStack
      class Real
        def update_alarm_definition(id, alarm_definition)
          request(
            :expects => [200],
            :method  => 'PUT',
            :path    => "alarm-definitions/#{id}",
            :body    => Fog::JSON.encode(alarm_definition)
          )
        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_definition.rb
fog-openstack-0.3.10 lib/fog/monitoring/openstack/requests/update_alarm_definition.rb
fog-openstack-0.1.30 lib/fog/monitoring/openstack/requests/update_alarm_definition.rb
fog-openstack-0.1.29 lib/fog/monitoring/openstack/requests/update_alarm_definition.rb
fog-openstack-0.3.9 lib/fog/monitoring/openstack/requests/update_alarm_definition.rb
fog-openstack-0.1.28 lib/fog/monitoring/openstack/requests/update_alarm_definition.rb
fog-openstack-0.3.8 lib/fog/monitoring/openstack/requests/update_alarm_definition.rb
fog-openstack-0.3.7 lib/fog/monitoring/openstack/requests/update_alarm_definition.rb
fog-openstack-0.3.6 lib/fog/monitoring/openstack/requests/update_alarm_definition.rb
fog-openstack-0.3.5 lib/fog/monitoring/openstack/requests/update_alarm_definition.rb
fog-openstack-0.3.4 lib/fog/monitoring/openstack/requests/update_alarm_definition.rb
fog-openstack-0.3.3 lib/fog/monitoring/openstack/requests/update_alarm_definition.rb
fog-openstack-0.3.2 lib/fog/monitoring/openstack/requests/update_alarm_definition.rb
fog-openstack-0.3.0 lib/fog/monitoring/openstack/requests/update_alarm_definition.rb
fog-openstack-0.2.4 lib/fog/monitoring/openstack/requests/update_alarm_definition.rb
fog-openstack-0.2.3 lib/fog/monitoring/openstack/requests/update_alarm_definition.rb
fog-openstack-0.2.2 lib/fog/monitoring/openstack/requests/update_alarm_definition.rb
fog-openstack-0.2.1 lib/fog/monitoring/openstack/requests/update_alarm_definition.rb
fog-openstack-0.2.0 lib/fog/monitoring/openstack/requests/update_alarm_definition.rb
fog-zj-0.1.28 lib/fog/monitoring/openstack/requests/update_alarm_definition.rb