Sha256: 543e32cc67a611e20612eb2a47737b0cdd5fa479ccef927ff0e4b378b4696e70
Contents?: true
Size: 309 Bytes
Versions: 3
Compression:
Stored size: 309 Bytes
Contents
# frozen_string_literal: true module ActiveShotgun module Model module Delete def delete shotgun_client.delete(id) end alias_method :destroy, :delete module ClassMethods def revive(id) shotgun_client.revive(id) end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
active_shotgun-0.0.4 | lib/active_shotgun/model/delete.rb |
active_shotgun-0.0.3 | lib/active_shotgun/model/delete.rb |
active_shotgun-0.0.2.1 | lib/active_shotgun/model/delete.rb |