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 service_account_data = self.service_account_authentication(params: params) return self.new(service_account_json: service_account_data, params: params) end |