Sha256: f7afffffba69ae3a4fed7dd0145159ae3afc10c748bde88eb2b50d528bc48972
Contents?: true
Size: 414 Bytes
Versions: 4
Compression:
Stored size: 414 Bytes
Contents
module Moneybird module Traits module MarkAsUncollectible def mark_as_uncollectible_path(resource) [path, resource.path, '/mark_as_uncollectible'].join('') end def mark_as_uncollectible(resource, options = {}) response = client.patch(mark_as_uncollectible_path(resource), options.to_json) resource.attributes = response resource end end end end
Version data entries
4 entries across 4 versions & 1 rubygems