require 'fog/core/collection' require 'fog/compute/models/storm_on_demand/server' module Fog module StormOnDemand class Compute class Servers < Fog::Collection model Fog::StormOnDemand::Compute::Server def all data = connection.list_servers.body['servers'] load(data) end def get(uniq_id) server = connection.get_server(:uniq_id => uniq_id).body new(server) end end end end end