Sha256: 0e6ee18a4d00a89b2af0c84f1abac58637eada3cebdf738d96788e94b2b01dcf

Contents?: true

Size: 357 Bytes

Versions: 6

Compression:

Stored size: 357 Bytes

Contents

require 'fog/core/collection'
require 'fog/storm_on_demand/models/compute/image'

module Fog
  module Compute
    class StormOnDemand

      class Images < Fog::Collection

        model Fog::Compute::StormOnDemand::Image

        def all
          data = connection.list_images.body['images']
          load(data)
        end

      end

    end
  end
end

Version data entries

6 entries across 6 versions & 3 rubygems

Version Path
brightbox-cli-0.16.0 lib/brightbox-cli/vendor/fog/lib/fog/storm_on_demand/models/compute/images.rb
brightbox-cli-0.15.0 lib/brightbox-cli/vendor/fog/lib/fog/storm_on_demand/models/compute/images.rb
tag-fog-1.0.1 lib/fog/storm_on_demand/models/compute/images.rb
brightbox-cli-0.14.1 lib/brightbox-cli/vendor/fog/lib/fog/storm_on_demand/models/compute/images.rb
brightbox-cli-0.14.0 lib/brightbox-cli/vendor/fog/lib/fog/storm_on_demand/models/compute/images.rb
fog-1.0.0 lib/fog/storm_on_demand/models/compute/images.rb