Sha256: c47d02855d6f3de36de21aec42dadfcbbca00312d63f3b3fdd37e634df9c2fe9

Contents?: true

Size: 501 Bytes

Versions: 1

Compression:

Stored size: 501 Bytes

Contents

#!/usr/bin/env ruby

require 'bundler/setup'
require 'rest-client'
require 'tophatter_merchant'
require 'awesome_print'
require 'pry'

begin
  TophatterMerchant.api_path = File.read('.api_path').chomp
rescue Errno::ENOENT
end

begin
  TophatterMerchant.access_token = File.read('.access_token').chomp
rescue Errno::ENOENT
end

puts "TophatterMerchant.api_path: #{TophatterMerchant.api_path}"
puts "TophatterMerchant.access_token: #{TophatterMerchant.access_token}"

Pry.config.color = false
Pry.start

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tophatter-merchant-1.0 bin/console