Sha256: 38e0a18f9f4a0a32d49939a8f60cd43546e9a17006f1ac8574e9afce715202de
Contents?: true
Size: 979 Bytes
Versions: 3
Compression:
Stored size: 979 Bytes
Contents
module Yao module Resources require "yao/resources/base" autoload :Server, "yao/resources/server" autoload :Flavor, "yao/resources/flavor" autoload :Image, "yao/resources/image" autoload :SecurityGroup, "yao/resources/security_group" autoload :SecurityGroupRule, "yao/resources/security_group_rule" autoload :Hypervisor, "yao/resources/hypervisor" autoload :Keypair, "yao/resources/keypair" autoload :FloatingIP, "yao/resources/floating_ip" 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" end def self.const_missing(name) new_klass = Yao::Resources.const_get(name) Yao.const_set(name, new_klass) rescue NameError super end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
yao-0.0.6 | lib/yao/resources.rb |
yao-0.0.5 | lib/yao/resources.rb |
yao-0.0.4 | lib/yao/resources.rb |