Class: PayPro::Refund
- Defined in:
- lib/pay_pro/entities/refund.rb
Constant Summary collapse
- RESOURCE_PATH =
'refunds'
Instance Attribute Summary
Attributes inherited from Entity
Instance Method Summary collapse
Methods included from Operations::Requestable
Methods inherited from Entity
create_from_data, #initialize, #inspect
Constructor Details
This class inherits a constructor from PayPro::Entity
Instance Method Details
#cancel(**options) ⇒ Object
7 8 9 |
# File 'lib/pay_pro/entities/refund.rb', line 7 def cancel(**) api_request(method: 'delete', uri: resource_url, options: ) end |