Module: Castle::API::ListItems::Archive
- Defined in:
- lib/castle/api/list_items/archive.rb
Overview
Sends DELETE /lists/:list_id/items/:item_id request
Class Method Summary collapse
Class Method Details
.call(options = {}) ⇒ Hash
12 13 14 15 16 17 18 |
# File 'lib/castle/api/list_items/archive.rb', line 12 def call( = {}) = Castle::Utils::DeepSymbolizeKeys.call( || {}) http = .delete(:http) config = .delete(:config) || Castle.config Castle::API.call(Castle::Commands::ListItems::Archive.build(), {}, http, config) end |