Class: Runcible::Models::PuppetInstallDistributor
- Inherits:
-
Distributor
- Object
- Distributor
- Runcible::Models::PuppetInstallDistributor
- Defined in:
- lib/runcible/models/puppet_install_distributor.rb
Instance Attribute Summary collapse
-
#install_path ⇒ Object
Returns the value of attribute install_path.
Attributes inherited from Distributor
Class Method Summary collapse
Instance Method Summary collapse
- #config ⇒ Object
-
#initialize(install_path, params = {}) ⇒ PuppetInstallDistributor
constructor
A new instance of PuppetInstallDistributor.
Methods inherited from Distributor
Constructor Details
#initialize(install_path, params = {}) ⇒ PuppetInstallDistributor
Returns a new instance of PuppetInstallDistributor.
32 33 34 35 |
# File 'lib/runcible/models/puppet_install_distributor.rb', line 32 def initialize(install_path, params = {}) @install_path = install_path super(params) end |
Instance Attribute Details
#install_path ⇒ Object
Returns the value of attribute install_path.
30 31 32 |
# File 'lib/runcible/models/puppet_install_distributor.rb', line 30 def install_path @install_path end |
Class Method Details
.type_id ⇒ Object
37 38 39 |
# File 'lib/runcible/models/puppet_install_distributor.rb', line 37 def self.type_id 'puppet_install_distributor' end |
Instance Method Details
#config ⇒ Object
41 42 43 44 45 |
# File 'lib/runcible/models/puppet_install_distributor.rb', line 41 def config to_ret = self.as_json to_ret.delete('id') to_ret end |