lib/fawry/requests/refund_request.rb in fawry-0.1.0 vs lib/fawry/requests/refund_request.rb in fawry-0.2.0
- old
+ new
@@ -3,10 +3,10 @@
require 'digest'
module Fawry
module Requests
module RefundRequest
- def fire
+ def fire_refund_request
fawry_api_response = Connection.post(request[:path], request[:params], request[:body], request[:options])
response_body = JSON.parse(fawry_api_response.body)
FawryResponse.new(response_body)
end