lib/fawry/fawry_callback.rb in fawry-0.3.0 vs lib/fawry/fawry_callback.rb in fawry-1.0.0

- old
+ new

@@ -4,12 +4,12 @@ class FawryCallback include Utils attr_reader :callback_params, :fawry_secure_key, :options - def initialize(callback_params, fawry_secure_key, opts) + def initialize(callback_params, opts) @callback_params = callback_params - @fawry_secure_key = fawry_secure_key + @fawry_secure_key = ENV.fetch('FAWRY_SECURE_KEY') @options = opts end def parse verify_callback_signature!