module Moyasar::Actions::Refund::ClassMethods

Public Instance Methods

perform_refund(id, attrs = {}) click to toggle source
# File lib/moyasar/actions/refund.rb, line 15
def perform_refund(id, attrs = {})
  response = request(:post, refund_url(id), params: attrs)
  new(response.body)
end
refund(id, attrs = {}) click to toggle source
# File lib/moyasar/actions/refund.rb, line 11
def refund(id, attrs = {})
  perform_refund(id, attrs)
end