Method: Leetchi::Contribution.get_refund

Defined in:
lib/leetchi/contribution.rb

.get_refund(contribution_refund_id) ⇒ Object

Get a refund object

  • Args :

    • contribution_refund_id -> The id of the refund you want to retrieve

  • Returns :

    • A refund object



57
58
59
# File 'lib/leetchi/contribution.rb', line 57

def self.get_refund(contribution_refund_id)
  get_request(File.join('refunds', contribution_refund_id.to_s))
end