Sha256: 4f60a2d4b8ebaa55d6d0cfe92eaa845ac1fedae8d80065da52e085866a03f301

Contents?: true

Size: 654 Bytes

Versions: 20

Compression:

Stored size: 654 Bytes

Contents

module Fog
  module Storage
    class GoogleJSON
      class Mock
        include Utils
        include Fog::Google::Shared

        MockClient = Struct.new(:issuer)

        def initialize(options = {})
          shared_initialize(options[:google_project], GOOGLE_STORAGE_JSON_API_VERSION, GOOGLE_STORAGE_JSON_BASE_URL)
          @client = MockClient.new('test')
          @storage_json = MockClient.new('test')
          @iam_service = MockClient.new('test')
        end

        def signature(_params)
          "foo"
        end

        def google_access_id
          "my-account@project.iam.gserviceaccount"
        end
      end
    end
  end
end

Version data entries

20 entries across 20 versions & 2 rubygems

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