Class: Tappay::Refund
Instance Attribute Summary
Attributes inherited from Client
Instance Method Summary collapse
- #execute ⇒ Object
-
#initialize(options = {}) ⇒ Refund
constructor
A new instance of Refund.
Methods inherited from Client
Constructor Details
#initialize(options = {}) ⇒ Refund
Returns a new instance of Refund.
3 4 5 6 7 |
# File 'lib/tappay/refund.rb', line 3 def initialize( = {}) super(timeout: 30) @options = end |
Instance Method Details
#execute ⇒ Object
9 10 11 |
# File 'lib/tappay/refund.rb', line 9 def execute post(Endpoints.refund_url, refund_data) end |