Sha256: b02b66492ac73b625217fe3bcadacc7a366b44e2cc62aa1a573a2c17968bc1f7
Contents?: true
Size: 403 Bytes
Versions: 18
Compression:
Stored size: 403 Bytes
Contents
require "omise/object" module Omise class Card < OmiseObject self.endpoint = "/cards" def reload(attributes = {}) assign_attributes resource(attributes).get(attributes) end def update(attributes = {}) assign_attributes resource(attributes).patch(attributes) end def destroy(attributes = {}) assign_attributes resource(attributes).delete end end end
Version data entries
18 entries across 18 versions & 1 rubygems