$:.unshift(File.join(File.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" puts "Retrieving users. " users = SlidePay::UserMaster.retrieve() puts "Done. #{users.length} users retrieved."