Module: InsalesApi::Resource::Countable

Included in:
Base
Defined in:
lib/insales_api/resource/countable.rb

Instance Method Summary collapse

Instance Method Details

#count(options = {}) ⇒ Object



4
5
6
# File 'lib/insales_api/resource/countable.rb', line 4

def count(options = {})
  get(:count, options)['count'].to_i
end