lib/yao/resources.rb in yao-0.0.6 vs lib/yao/resources.rb in yao-0.1.0
- old
+ new
@@ -13,10 +13,11 @@
autoload :Network, "yao/resources/network"
autoload :Subnet, "yao/resources/subnet"
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"
end
def self.const_missing(name)
new_klass = Yao::Resources.const_get(name)
Yao.const_set(name, new_klass)