Sha256: af8f40bf16dddad68a27a9cad44081cc91a55967f75f5519ac699803cac44e0b
Contents?: true
Size: 354 Bytes
Versions: 116
Compression:
Stored size: 354 Bytes
Contents
## From: https://gist.github.com/be9/6446051 current, total, per_page = collection.current_page, collection.total_pages, collection.limit_value json.current current json.previous (current > 1 ? (current - 1) : nil) json.next (current == total ? nil : (current + 1)) json.per_page per_page json.pages total json.count collection.total_count
Version data entries
116 entries across 116 versions & 1 rubygems