lib/ipizza/provider/nordea/authentication_request.rb in ipizza-0.4.0 vs lib/ipizza/provider/nordea/authentication_request.rb in ipizza-0.4.1

- old
+ new

@@ -6,10 +6,10 @@ attr_accessor :params attr_accessor :service_url def sign(key_path) key = File.read(key_path).strip - params['A01Y_MAC'] = Digest::MD5.hexdigest(mac_data_string(key)).upcase + params['MAC'] = Digest::MD5.hexdigest(mac_data_string(key)).upcase end def request_params params.inject(Hash.new) { |h, v| h["A01Y_#{v.first}"] = v.last; h } end \ No newline at end of file