#!/usr/bin/env ruby require 'bundler/setup' require 'credit_gateway' require 'json' # You can add fixtures and/or initialization code here to make experimenting # with your gem easier. You can also use a different console, if you like. CreditGateway.configure do |c| c.client_id = ENV['CREDIT_GATEWAY_CLIENT_ID'] c.client_secret = ENV['CREDIT_GATEWAY_CLIENT_SECRET'] c.country = 'GB' c.environment = :sandbox c.debug = true c.verbose = true end # (If you use this, don't forget to add pry to your Gemfile!) require 'pry' Pry.start