lib/active_merchant/billing/integrations/bit_pay/helper.rb in activemerchant-1.42.2 vs lib/active_merchant/billing/integrations/bit_pay/helper.rb in activemerchant-1.42.3
- old
+ new
@@ -53,10 +53,10 @@
request.body = @fields.to_json
request.basic_auth @account, ''
response = http.request(request)
JSON.parse(response.body)
- rescue JSON::ParseError
+ rescue JSON::ParserError
end
end
end
end
end