class Omise::RefundList
Public Instance Methods
create(attributes = {})
click to toggle source
# File lib/omise/refund_list.rb, line 5 def create(attributes = {}) Refund.new self.class.resource(location, attributes).post(attributes) end
retrieve(id, attributes = {})
click to toggle source
# File lib/omise/refund_list.rb, line 9 def retrieve(id, attributes = {}) Refund.new self.class.resource(location(id), attributes).get(attributes) end