Sha256: 2bc5f3b66b57634f4d50fb1361af81b30b2b6b279e1d6e0e8a2cbbd8c0ff8cb5
Contents?: true
Size: 925 Bytes
Versions: 2
Compression:
Stored size: 925 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" 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
yao-0.0.3 | lib/yao/resources.rb |
yao-0.0.2 | lib/yao/resources.rb |