Method: FulfilApi::Relation#all
- Defined in:
- lib/fulfil_api/relation.rb
#all ⇒ Array<FulfilApi::Resource>
Loads and returns all resources from Fulfil’s API. This method functions as a proxy,
deferring the loading of resources until they are required, thus avoiding unnecessary
HTTP requests.
40 41 42 43 |
# File 'lib/fulfil_api/relation.rb', line 40 def all load @resources end |