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