Sha256: 6825b7ef20b7e3f88a239c605da948a0151a00ae5b9946d7cb724a0c484b25ca
Contents?: true
Size: 423 Bytes
Versions: 13
Compression:
Stored size: 423 Bytes
Contents
require 'yaml' begin credentials = YAML.load_file(File.expand_path(File.dirname(__FILE__) + '/../test_credentials.yml')) GeoCerts.partner_id = credentials['partner_id'] GeoCerts.api_token = credentials['api_token'] GeoCerts.sandbox = true rescue Errno::ENOENT, LoadError puts '====' puts '= An error occurred:' puts '= You must set up your test_credentials.yml file.' puts '====' exit(1) end
Version data entries
13 entries across 13 versions & 1 rubygems