mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
22 lines
361 B
Ruby
22 lines
361 B
Ruby
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
|
|
data = connection.list_configs.body['items']
|
|
load(data)
|
|
end
|
|
|
|
|
|
end
|
|
|
|
end
|
|
end
|
|
end
|