Sha256: 76fb0055d09c6ae83dcc6cb2c64ba2a8f7c6f8bcbbdb1a72631f4dc017a7d824

Contents?: true

Size: 383 Bytes

Versions: 4

Compression:

Stored size: 383 Bytes

Contents

module Fog
  module Monitoring
    class HuaweiCloud
      class Real
        def create_notification_method(options)
          request(
            :body    => Fog::JSON.encode(options),
            :expects => [201, 204],
            :method  => 'POST',
            :path    => 'notification-methods'
          )
        end
      end

      class Mock
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fog-huaweicloud-0.0.3 lib/fog/monitoring/huaweicloud/requests/create_notification_method.rb
fog-huaweicloud-0.0.2 lib/fog/monitoring/huaweicloud/requests/create_notification_method.rb
fog-huaweicloud-0.1.3 lib/fog/monitoring/huaweicloud/requests/create_notification_method.rb
fog-huaweicloud-0.1.2 lib/fog/monitoring/huaweicloud/requests/create_notification_method.rb