Method: Berkshelf::Source#universe
- Defined in:
- lib/berkshelf/source.rb
#universe ⇒ Array<APIClient::RemoteCookbook>
Return the universe from the API endpoint.
This is lazily loaded so the universe will be retrieved from the API endpoint on the first call and cached for future calls. Send the #build_universe message if you want to reload the cached universe.
98 99 100 |
# File 'lib/berkshelf/source.rb', line 98 def universe @universe || build_universe end |