lib/insales_api/resource/countable.rb in insales_api-0.1.3 vs lib/insales_api/resource/countable.rb in insales_api-0.2.0
- old
+ new
@@ -1,9 +1,9 @@
module InsalesApi
module Resource
module Countable
def count(options = {})
- get(:count, options).to_i
+ get(:count, options)['count'].to_i
end
end
end
end