Sha256: b5ac0d2b31e88ea01951e35f0956af7aa2d0dd94f6d84f6cd82fbbc5e8385401

Contents?: true

Size: 501 Bytes

Versions: 15

Compression:

Stored size: 501 Bytes

Contents

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

module Fog
  module Compute
    class StormOnDemand
      class Configs < Fog::Collection
        model Fog::Compute::StormOnDemand::Config

        def all(options={})
          data = service.list_configs(options).body['items']
          load(data)
        end

        def get(config_id)
          data = service.get_config_details(:id => config_id).body
          new(data)
        end
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 4 rubygems

Version Path
vagrant-cloudstack-1.1.0 vendor/bundle/gems/fog-1.22.1/lib/fog/storm_on_demand/models/compute/configs.rb
fog-1.25.0 lib/fog/storm_on_demand/models/compute/configs.rb
nsidc-fog-1.24.1 lib/fog/storm_on_demand/models/compute/configs.rb
fog-1.24.0 lib/fog/storm_on_demand/models/compute/configs.rb
ns-fog-1.22.11 lib/fog/storm_on_demand/models/compute/configs.rb
ns-fog-1.22.10 lib/fog/storm_on_demand/models/compute/configs.rb
ns-fog-1.22.9 lib/fog/storm_on_demand/models/compute/configs.rb
ns-fog-1.22.8 lib/fog/storm_on_demand/models/compute/configs.rb
ns-fog-1.22.7 lib/fog/storm_on_demand/models/compute/configs.rb
ns-fog-1.22.6 lib/fog/storm_on_demand/models/compute/configs.rb
fog-1.23.0 lib/fog/storm_on_demand/models/compute/configs.rb
ns-fog-1.22.4 lib/fog/storm_on_demand/models/compute/configs.rb
ns-fog-1.22.3 lib/fog/storm_on_demand/models/compute/configs.rb
ns-fog-1.22.2 lib/fog/storm_on_demand/models/compute/configs.rb
fog-1.22.1 lib/fog/storm_on_demand/models/compute/configs.rb