module SpiffyStoresAPI::Countable
Public Instance Methods
count(options = {})
click to toggle source
# File lib/spiffy_stores_api/countable.rb, line 3 def count(options = {}) data = get(:count, options) count = case data when Hash then data["count"] else data end Integer(count) end