Class: ConfigBuilder::Model::Provider::Vsphere
- Defined in:
- lib/config_builder/model/provider/vsphere.rb
Overview
Instance Method Summary collapse
- #config_custom_attributes(config, val) ⇒ Object
-
#initialize ⇒ Vsphere
constructor
A new instance of Vsphere.
- #instance_id ⇒ Object
Methods inherited from Base
Methods inherited from Base
#attr, #attrs=, #call, #configure!, def_model_attribute, def_model_delegator, def_model_id, def_model_option, #eval_models, #instance_options, model_attributes, model_delegators, #model_delegators, model_options, new_from_hash, #to_proc, #with_attr
Constructor Details
#initialize ⇒ Vsphere
Returns a new instance of Vsphere.
30 31 32 33 34 |
# File 'lib/config_builder/model/provider/vsphere.rb', line 30 def initialize @defaults = { :insecure => false, } end |
Instance Method Details
#config_custom_attributes(config, val) ⇒ Object
41 42 43 44 45 |
# File 'lib/config_builder/model/provider/vsphere.rb', line 41 def config_custom_attributes(config, val) val.each do |e| config.custom_attribute(*e) end end |
#instance_id ⇒ Object
36 37 38 |
# File 'lib/config_builder/model/provider/vsphere.rb', line 36 def instance_id 'vsphere' end |