Sha256: 4c7fc3c3eb7c8b9b5c05e3743cdea60508cadc6b81b10b6d44557fb1bc78a07c

Contents?: true

Size: 359 Bytes

Versions: 1

Compression:

Stored size: 359 Bytes

Contents

require "google-cloud-secret_manager"
require "google/cloud/storage"

module TerraspacePluginGoogle
  module Clients
    extend Memoist

    def secret_manager_service
      Google::Cloud::SecretManager.secret_manager_service
    end
    memoize :secret_manager_service

    def storage
      Google::Cloud::Storage.new
    end
    memoize :storage
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
terraspace_plugin_google-0.3.0 lib/terraspace_plugin_google/clients.rb