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