lib/symmetric_encryption/keystore/gcp.rb in symmetric-encryption-4.3.1 vs lib/symmetric_encryption/keystore/gcp.rb in symmetric-encryption-4.3.2

- old
+ new

@@ -1,6 +1,6 @@ -require 'google/cloud/kms/v1' +require "google/cloud/kms/v1" module SymmetricEncryption module Keystore class Gcp include Utils::Files @@ -66,24 +66,24 @@ def client self.class::KMS::KeyManagementServiceClient.new(timeout: 2, credentials: credentials) end def project_id - @project_id ||= ENV['GOOGLE_CLOUD_PROJECT'] - raise 'GOOGLE_CLOUD_PROJECT must be set' if @project_id.nil? + @project_id ||= ENV["GOOGLE_CLOUD_PROJECT"] + raise "GOOGLE_CLOUD_PROJECT must be set" if @project_id.nil? @project_id end def credentials - @credentials ||= ENV['GOOGLE_CLOUD_KEYFILE'] - raise 'GOOGLE_CLOUD_KEYFILE must be set' if @credentials.nil? + @credentials ||= ENV["GOOGLE_CLOUD_KEYFILE"] + raise "GOOGLE_CLOUD_KEYFILE must be set" if @credentials.nil? @credentials end def location_id - @location_id ||= ENV['GOOGLE_CLOUD_LOCATION'] || 'global' + @location_id ||= ENV["GOOGLE_CLOUD_LOCATION"] || "global" end end end end