Took me quite a while to figure out how to access the records in a collection
object returned by the restforce Gem…
It implements Ruby’s Enumerable
module so you can map
/collect
, reject
, slice
, inject
, etc to your heart’s content.
Seems obvious in hindsight 🤦♂️