Class | Fog::Brightbox::Compute::ImageSelector |
In: |
lib/fog/brightbox/compute/image_selector.rb
|
Parent: | Object |
This selects the preferred image to use based on a number of conditions
Prepares a selector with the API output
@param [Array<Hash>] images hash matching API output for {Fog::Compute::Brightbox#list_images}
Returns current identifier of the latest version of Ubuntu
The order of preference is:
@return [String] if image matches containing the identifier @return [NilClass] if no image matches