Class: Kakine::Resource
- Inherits:
-
Object
- Object
- Kakine::Resource
- Defined in:
- lib/kakine/resource.rb,
lib/kakine/resource/yaml.rb,
lib/kakine/resource/openstack.rb
Defined Under Namespace
Class Method Summary collapse
Class Method Details
.get(type) ⇒ Object
4 5 6 7 8 9 10 11 |
# File 'lib/kakine/resource.rb', line 4 def get(type) case when type == :yaml Kakine::Resource::Yaml when type == :openstack Kakine::Resource::OpenStack end end |