Sha256: aad0fbe59d4de4f00ba9fddffde9c68a878f6228fd894e571c064978bb605a75

Contents?: true

Size: 392 Bytes

Versions: 37

Compression:

Stored size: 392 Bytes

Contents

module Fog
  module Monitoring
    class OpenStack
      class Real
        def put_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

37 entries across 35 versions & 3 rubygems

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