Sha256: 0b9bb0e5d880ba46897ac0dc2a9fc6c44d120861b7b22832c7f6a8cc7422dd2e

Contents?: true

Size: 362 Bytes

Versions: 21

Compression:

Stored size: 362 Bytes

Contents

module Fog
  module Compute
    class Google
      class Mock
        def get_region(_identity)
          # :no-coverage:
          Fog::Mock.not_implemented
          # :no-coverage:
        end
      end

      class Real
        def get_region(identity)
          @compute.get_region(@project, identity.split("/")[-1])
        end
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 2 rubygems

Version Path
fog-google-1.10.0 lib/fog/compute/google/requests/get_region.rb