bin/console in beyond_api-0.18.0.pre vs bin/console in beyond_api-0.18.2.pre
- old
+ new
@@ -1,11 +1,12 @@
#!/usr/bin/env ruby
+# frozen_string_literal: true
require "bundler/setup"
require "dotenv/load"
require "beyond_api"
-unless ENV["CLIENT_ID"].nil? and ENV["CLIENT_SECRET"].nil?
+unless ENV["CLIENT_ID"].nil? && ENV["CLIENT_SECRET"].nil?
BeyondApi.setup do |config|
config.client_id = ENV["CLIENT_ID"]
config.client_secret = ENV["CLIENT_SECRET"]
config.remove_response_links = true
config.remove_response_key_underscores = true