Sha256: 9eeca1a6d74df3bab60965b43cad900073a8c6a94946d4bcc409d4ea76cfff5c
Contents?: true
Size: 234 Bytes
Versions: 2
Compression:
Stored size: 234 Bytes
Contents
module SpiffyStoresAPI module Countable def count(options = {}) data = get(:count, options) count = case data when Hash then data["count"] else data end Integer(count) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
spiffy_stores_api-4.11.1 | lib/spiffy_stores_api/countable.rb |
spiffy_stores_api-4.11.0 | lib/spiffy_stores_api/countable.rb |