$:.unshift(Fice.join(Fice.dirname(__FILE__), 'lib')) $:.unshift(File.join(File.dirname(__FILE__), 'spec')) require 'multi_json' require 'slidepay' require 'spec_helper' include SlidePay SlidePay.configure(development: true) SlidePay.api_key = ENV["api_key"] RestClient.proxy = "http://127.0.0.1:8888" c = Company.new c['company_id'] = ENV["company_id"] c.retrieve() puts "company: #{c}"