Sha256: 89a65bf037c85f49ec2c39b566cafa76b32f00846c75babc5191162531c15652

Contents?: true

Size: 575 Bytes

Versions: 7

Compression:

Stored size: 575 Bytes

Contents

module Fog
  module Compute
    class Google
      class Mock
        def update_http_health_check(_check_name, _opts = {})
          # :no-coverage:
          Fog::Mock.not_implemented
          # :no-coverage:
        end
      end

      class Real
        def update_http_health_check(check_name, opts = {})
          @compute.update_http_health_check(
            @project,
            check_name,
            ::Google::Apis::ComputeV1::HttpHealthCheck.new(
              opts.merge(:name => check_name)
            )
          )
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
gitlab-fog-google-1.14.0 lib/fog/compute/google/requests/update_http_health_check.rb
fog-google-1.13.0 lib/fog/compute/google/requests/update_http_health_check.rb
gitlab-fog-google-1.13.0 lib/fog/compute/google/requests/update_http_health_check.rb
fog-google-1.12.1 lib/fog/compute/google/requests/update_http_health_check.rb
fog-google-1.12.0 lib/fog/compute/google/requests/update_http_health_check.rb
fog-google-1.11.0 lib/fog/compute/google/requests/update_http_health_check.rb
fog-google-1.10.0 lib/fog/compute/google/requests/update_http_health_check.rb