Method: Supply::AbstractGoogleServiceClient.make_from_config

Defined in:
supply/lib/supply/client.rb

.make_from_config(params: nil) ⇒ Object



16
17
18
19
20
# File 'supply/lib/supply/client.rb', line 16

def self.make_from_config(params: nil)
  params ||= Supply.config
   = self.(params: params)
  return self.new(service_account_json: , params: params)
end