Sha256: 1a5bd3f59e2a24bf3ebaeaffb231398c8b27322e595c64adc47c9e1fbe460e20

Contents?: true

Size: 366 Bytes

Versions: 3

Compression:

Stored size: 366 Bytes

Contents

require 'yaml'

env_file = File.expand_path('../../../config/env.yml', __FILE__)
api_keys = YAML.load_file(env_file)
trajectory_api_key = api_keys['test']['trajectory_api_key']
trajectory_account_keyword = api_keys['test']['trajectory_account_keyword']

ENV['TRAJECTORY_API_KEY'] = trajectory_api_key
ENV['TRAJECTORY_ACCOUNT_KEYWORD'] = trajectory_account_keyword


Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
trajectory-0.1.2 spec/support/env.rb
trajectory-0.1.1 spec/support/env.rb
trajectory-0.1.0 spec/support/env.rb