Class: Razorpay::Refund
Overview
Refund class handles all refund objects
Instance Attribute Summary
Attributes inherited from Entity
Class Method Summary collapse
Methods inherited from Entity
#initialize, #method_missing, #respond_to_missing?, #to_json, #with_a_bang
Constructor Details
This class inherits a constructor from Razorpay::Entity
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Razorpay::Entity
Class Method Details
.all(options = {}) ⇒ Object
15 16 17 |
# File 'lib/razorpay/refund.rb', line 15 def self.all( = {}) request.all end |
.create(options) ⇒ Object
11 12 13 |
# File 'lib/razorpay/refund.rb', line 11 def self.create() request.create end |
.fetch(id) ⇒ Object
19 20 21 |
# File 'lib/razorpay/refund.rb', line 19 def self.fetch(id) request.fetch id end |