Sha256: 3ce819b084d983eb68b34b5714920d32525109598879c63dce9d8be983e2bdcb
Contents?: true
Size: 483 Bytes
Versions: 8
Compression:
Stored size: 483 Bytes
Contents
require 'razorpay/request' require 'razorpay/entity' module Razorpay # Refund class handles all refund objects class Refund < Entity def self.request Razorpay::Request.new('refunds') end def self.create(options) request.create options end def self.all(options = {}) request.all options end def self.fetch(id) request.fetch id end def edit(options = {}) self.class.request.patch id, options end end end
Version data entries
8 entries across 8 versions & 2 rubygems