Module: VagrantPlugins::Skytap::API::SpecifiedAttributes
- Included in:
- Resource
- Defined in:
- lib/vagrant-skytap/api/specified_attributes.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(base) ⇒ Object
43 44 45 |
# File 'lib/vagrant-skytap/api/specified_attributes.rb', line 43 def self.included(base) base.singleton_class.send(:include, ClassMethods) end |
Instance Method Details
#get_api_attribute(name) ⇒ Object
39 40 41 |
# File 'lib/vagrant-skytap/api/specified_attributes.rb', line 39 def get_api_attribute(name) attrs.fetch(name.to_s, nil) end |