Sha256: f8638365256707c12bdab0c5863ee4bead5cb751e45c8d26f9af0b4cc52a5c08

Contents?: true

Size: 505 Bytes

Versions: 53

Compression:

Stored size: 505 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

53 entries across 53 versions & 3 rubygems

Version Path
fog-maestrodev-1.15.0.20130927082724 lib/fog/storm_on_demand/models/compute/configs.rb
fog-maestrodev-1.15.0.20130829165835 lib/fog/storm_on_demand/models/compute/configs.rb
fog-1.15.0 lib/fog/storm_on_demand/models/compute/configs.rb
gapinc-fog-1.14.0 lib/fog/storm_on_demand/models/compute/configs.rb
fog-maestrodev-1.14.0.20130806165225 lib/fog/storm_on_demand/models/compute/configs.rb
fog-1.14.0 lib/fog/storm_on_demand/models/compute/configs.rb
fog-1.13.0 lib/fog/storm_on_demand/models/compute/configs.rb
gapinc-fog-1.12.1.2 lib/fog/storm_on_demand/models/compute/configs.rb
gapinc-fog-1.12.1.1 lib/fog/storm_on_demand/models/compute/configs.rb
gapinc-fog-1.12.1a lib/fog/storm_on_demand/models/compute/configs.rb
gapinc-fog-1.12.1 lib/fog/storm_on_demand/models/compute/configs.rb
fog-1.12.1 lib/fog/storm_on_demand/models/compute/configs.rb
fog-1.12.0 lib/fog/storm_on_demand/models/compute/configs.rb