Sha256: a2530e5741567126ae0e4fa04aa9b901aa89f2e2ee2652734f02a527550c4fa2
Contents?: true
Size: 307 Bytes
Versions: 12
Compression:
Stored size: 307 Bytes
Contents
require "omise/object" module Omise class Document < OmiseObject self.endpoint = "/documents" def reload(attributes = {}) assign_attributes resource(attributes).get(attributes) end def destroy(attributes = {}) assign_attributes resource(attributes).delete end end end
Version data entries
12 entries across 12 versions & 1 rubygems