Sha256: 799d6bf90327b2ad1cf1848a8d318cf600bac188e5d983c16f2c21aaaa3348cc
Contents?: true
Size: 654 Bytes
Versions: 11
Compression:
Stored size: 654 Bytes
Contents
module Credentials module_function def v1_creds { client_id: ENV['CLIENT_ID'], client_secret: ENV['CLIENT_SECRET'], domain: ENV['DOMAIN'], api_version: 1 } end def v1_global_creds { client_id: ENV['GLOBAL_CLIENT_ID'], client_secret: ENV['GLOBAL_CLIENT_SECRET'], domain: ENV['DOMAIN'], api_version: 1 } end def v2_creds { domain: ENV.fetch( 'DOMAIN', 'DOMAIN' ), client_id: ENV.fetch( 'CLIENT_ID', 'CLIENT_ID' ), client_secret: ENV.fetch( 'CLIENT_SECRET', 'TEST_CLIENT_SECRET' ), token: ENV.fetch( 'MASTER_JWT', 'TEST_MASTER_JWT' ) } end end
Version data entries
11 entries across 11 versions & 1 rubygems