Class: Fonepaisa::PaymentRequestURL
- Defined in:
- lib/fonepaisa/payment_request_url.rb
Constant Summary
Constants inherited from Client
Instance Attribute Summary
Attributes inherited from Client
Instance Method Summary collapse
Methods inherited from Client
Constructor Details
This class inherits a constructor from Fonepaisa::Client
Instance Method Details
#execute ⇒ Object
3 4 5 6 7 8 9 10 11 12 |
# File 'lib/fonepaisa/payment_request_url.rb', line 3 def execute hash_key = secure_hash_key(request_params) response = RestClient.post( "#{BASE_URL}/getpaymentrequesturl", request_params.merge(hash: hash_key) ) response.body end |