Module: NCore::Count::ClassMethods

Defined in:
lib/ncore/methods/count.rb

Instance Method Summary collapse

Instance Method Details

#count(params = {}) ⇒ Object



6
7
8
9
10
# File 'lib/ncore/methods/count.rb', line 6

def count(params={})
  params = parse_request_params(params)
  parsed, _ = request(:get, "#{resource_path}/count", params)
  parsed[:data][:count]
end