bin/console in credit_gateway-0.3.1 vs bin/console in credit_gateway-0.3.2
- old
+ new
@@ -5,8 +5,17 @@
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