Sha256: 273d362dbcfbdf6c02ddc04165e04bf22727aff4463c4f181cf25cb29078b57f
Contents?: true
Size: 449 Bytes
Versions: 4
Compression:
Stored size: 449 Bytes
Contents
require "omise/object" require "omise/charge" require "omise/transaction" module Omise class Refund < OmiseObject self.endpoint = "/refunds" def reload(attributes = {}) assign_attributes resource(attributes).get(attributes) end def charge(options = {}) expand_attribute Charge, "charge", options end def transaction(options = {}) expand_attribute Transaction, "transaction", options end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
omise-0.4.0 | lib/omise/refund.rb |
omise-0.3.0 | lib/omise/refund.rb |
omise-0.2.1 | lib/omise/refund.rb |
omise-0.2.0 | lib/omise/refund.rb |