Module: KB::Destroyable::ClassMethods
- Defined in:
- lib/kb/models/concerns/destroyable.rb
Instance Method Summary collapse
Instance Method Details
#destroy(key) ⇒ Object
10 11 12 13 14 |
# File 'lib/kb/models/concerns/destroyable.rb', line 10 def destroy(key) kb_client.destroy(key) rescue Faraday::Error => e raise KB::Error.from_faraday(e) end |