Sha256: f3be9b9ca04f0a2b34d951010cb4b6f85aabe504ccb852217a0d70c0bc4e9b0e
Contents?: true
Size: 372 Bytes
Versions: 19
Compression:
Stored size: 372 Bytes
Contents
module CurrencyCloud module Actions module Delete def self.extended(base) base.send(:include, InstanceDelete) # Private before Ruby 2.1 end # TODO: Set state to be deleted # TODO: Disable all actionable methods / freeze? def delete(id) attrs = client.post("#{id}/delete") new(attrs) end end end end
Version data entries
19 entries across 19 versions & 1 rubygems