module Castle::API::ListItems::Query

Sends POST /lists/:list_id/items/query request

Public Class Methods

call(options = {}) click to toggle source

@param options [Hash] @return [Hash]

# File lib/castle/api/list_items/query.rb, line 11
def call(options = {})
  options = Castle::Utils::DeepSymbolizeKeys.call(options || {})
  http = options.delete(:http)
  config = options.delete(:config) || Castle.config

  Castle::API.call(Castle::Commands::ListItems::Query.build(options), {}, http, config)
end