bin/console in acumatica-0.4.0 vs bin/console in acumatica-0.5.0
- old
+ new
@@ -8,12 +8,12 @@
# 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.
@acumatica = Acumatica::Client.configure do |config|
- config.url = ENV['ACUMATICA_URL']
- config.name = ENV['ACUMATICA_USER']
- config.password = ENV['ACUMATICA_PASSWORD']
+ config.url = ENV.fetch('ACUMATICA_URL')
+ config.name = ENV.fetch('ACUMATICA_USER')
+ config.password = ENV.fetch('ACUMATICA_PASSWORD')
config.debug = true
end
# (If you use this, don't forget to add pry to your Gemfile!)
# require "pry"