Sha256: 0127fb846f289b977bffad0555426289dba14272d647172f051a179e6234792b

Contents?: true

Size: 466 Bytes

Versions: 21

Compression:

Stored size: 466 Bytes

Contents

module Fog
  module Compute
    class Google
      class Mock
        def get_target_pool(_target_pool, _region)
          # :no-coverage:
          Fog::Mock.not_implemented
          # :no-coverage:
        end
      end

      class Real
        def get_target_pool(target_pool, region)
          region = region.split("/")[-1] if region.start_with? "http"
          @compute.get_target_pool(@project, region, target_pool)
        end
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 2 rubygems

Version Path
fog-google-1.24.1 lib/fog/compute/google/requests/get_target_pool.rb
fog-google-1.24.0 lib/fog/compute/google/requests/get_target_pool.rb
fog-google-1.23.0 lib/fog/compute/google/requests/get_target_pool.rb
fog-google-1.22.0 lib/fog/compute/google/requests/get_target_pool.rb
fog-google-1.21.1 lib/fog/compute/google/requests/get_target_pool.rb
fog-google-1.21.0 lib/fog/compute/google/requests/get_target_pool.rb
fog-google-1.20.0 lib/fog/compute/google/requests/get_target_pool.rb
fog-google-1.19.0 lib/fog/compute/google/requests/get_target_pool.rb
fog-google-1.18.0 lib/fog/compute/google/requests/get_target_pool.rb
fog-google-1.17.0 lib/fog/compute/google/requests/get_target_pool.rb
fog-google-1.16.1 lib/fog/compute/google/requests/get_target_pool.rb
fog-google-1.16.0 lib/fog/compute/google/requests/get_target_pool.rb
fog-google-1.15.0 lib/fog/compute/google/requests/get_target_pool.rb
fog-google-1.14.0 lib/fog/compute/google/requests/get_target_pool.rb
gitlab-fog-google-1.14.0 lib/fog/compute/google/requests/get_target_pool.rb
fog-google-1.13.0 lib/fog/compute/google/requests/get_target_pool.rb
gitlab-fog-google-1.13.0 lib/fog/compute/google/requests/get_target_pool.rb
fog-google-1.12.1 lib/fog/compute/google/requests/get_target_pool.rb
fog-google-1.12.0 lib/fog/compute/google/requests/get_target_pool.rb
fog-google-1.11.0 lib/fog/compute/google/requests/get_target_pool.rb