Sha256: b93ec11f7ef0f3f8be043bfb6e8c23ac508b3c195c257be07e963384dfd8cf3f

Contents?: true

Size: 332 Bytes

Versions: 2

Compression:

Stored size: 332 Bytes

Contents

# frozen_string_literal: true

module Credentials
  module_function

  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

2 entries across 2 versions & 1 rubygems

Version Path
minty-1.0.1 spec/support/credentials.rb
minty-1.0.0 spec/support/credentials.rb