Sha256: 321ffb4b940b6b9aec32a4d08e116c1e182a0d4c787e4eab7e097932d13832be

Contents?: true

Size: 395 Bytes

Versions: 6

Compression:

Stored size: 395 Bytes

Contents

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

      class Mock
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
fog-openstack-0.1.12 lib/fog/monitoring/openstack/requests/update_notification_method.rb
fog-openstack-0.1.11 lib/fog/monitoring/openstack/requests/update_notification_method.rb
fog-openstack-0.1.10 lib/fog/openstack/requests/monitoring/update_notification_method.rb
fog-openstack-0.1.9 lib/fog/openstack/requests/monitoring/update_notification_method.rb
fog-openstack-0.1.8 lib/fog/openstack/requests/monitoring/update_notification_method.rb
fog-openstack-0.1.7 lib/fog/openstack/requests/monitoring/update_notification_method.rb