Sha256: f72ae9e69de1130e82310bb731f7d77e06dcbdf15f9771f079c0d06a9f6f64e9
Contents?: true
Size: 394 Bytes
Versions: 4
Compression:
Stored size: 394 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'] 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
4 entries across 4 versions & 1 rubygems