lib/yao/resources.rb in yao-0.1.1 vs lib/yao/resources.rb in yao-0.2.0.rc1

- old
+ new

@@ -15,9 +15,13 @@ autoload :Port, "yao/resources/port" autoload :Tenant, "yao/resources/tenant" autoload :Host, "yao/resources/host" autoload :User, "yao/resources/user" autoload :Role, "yao/resources/role" + + autoload :Resource, "yao/resources/resource" + autoload :Meter, "yao/resources/meter" + autoload :Sample, "yao/resources/sample" end def self.const_missing(name) new_klass = Yao::Resources.const_get(name) Yao.const_set(name, new_klass)