Class: ConfigBuilder::Model::Provider::Vsphere

Inherits:
Base
  • Object
show all
Defined in:
lib/config_builder/model/provider/vsphere.rb

Overview

Instance Method Summary collapse

Methods inherited from Base

#eval_overrides, #to_proc

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

Instance Method Details

#config_custom_attributes(config, val) ⇒ Object



40
41
42
43
44
# File 'lib/config_builder/model/provider/vsphere.rb', line 40

def config_custom_attributes(config, val)
  val.each do |e|
    config.custom_attribute(*e)
  end
end

#instance_idObject



35
36
37
# File 'lib/config_builder/model/provider/vsphere.rb', line 35

def instance_id
  'vsphere'
end