Method: Berkshelf::Source#build_universe

Defined in:
lib/berkshelf/source.rb

#build_universeArray<APIClient::RemoteCookbook>

Forcefully obtain the universe from the API endpoint and assign it to #universe. This will reload the value of #universe even if it has been loaded before.

Returns:



84
85
86
87
88
89
# File 'lib/berkshelf/source.rb', line 84

def build_universe
  @universe = api_client.universe
rescue => ex
  @universe = []
  raise ex
end