lib/ragoon.rb in ragoon-1.1.0 vs lib/ragoon.rb in ragoon-1.1.1
- old
+ new
@@ -19,9 +19,10 @@
endpoint: ENV['GAROON_ENDPOINT'] || raise_option_error('endpoint'),
username: ENV['GAROON_USERNAME'] || raise_option_error('username'),
password: ENV['GAROON_PASSWORD'] || raise_option_error('password'),
version: ENV['GAROON_VERSION'] || 4,
retry: ENV['GAROON_RETRY'] || 10,
+ skip_verify_ssl: !!ENV['SKIP_VERIFY_SSL'] || false,
}
end
def self.raise_option_error(type)
raise "must specify garoon_#{type} by ENV or `./.secret_options`."