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

Version Path
geocerts-1.0.1 test/config/initializers/geocerts.rb
geocerts-1.0.0 test/config/initializers/geocerts.rb
geocerts-0.0.25 test/config/initializers/geocerts.rb
geocerts-0.0.24 test/config/initializers/geocerts.rb
geocerts-0.0.23 test/config/initializers/geocerts.rb
geocerts-0.0.22 test/config/initializers/geocerts.rb
geocerts-0.0.21 test/config/initializers/geocerts.rb
geocerts-0.0.20 test/config/initializers/geocerts.rb
geocerts-0.0.19 test/config/initializers/geocerts.rb
geocerts-0.0.18 test/config/initializers/geocerts.rb
geocerts-0.0.17 test/config/initializers/geocerts.rb
geocerts-0.0.16 test/config/initializers/geocerts.rb
geocerts-0.0.15 test/config/initializers/geocerts.rb