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.
-
#subdir ⇒ Object
Returns the value of attribute subdir.
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.
9 10 11 12 |
# File 'lib/runcible/models/puppet_install_distributor.rb', line 9 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.
7 8 9 |
# File 'lib/runcible/models/puppet_install_distributor.rb', line 7 def install_path @install_path end |
#subdir ⇒ Object
Returns the value of attribute subdir.
7 8 9 |
# File 'lib/runcible/models/puppet_install_distributor.rb', line 7 def subdir @subdir end |
Class Method Details
.type_id ⇒ Object
14 15 16 |
# File 'lib/runcible/models/puppet_install_distributor.rb', line 14 def self.type_id 'puppet_install_distributor' end |
Instance Method Details
#config ⇒ Object
18 19 20 21 22 23 |
# File 'lib/runcible/models/puppet_install_distributor.rb', line 18 def config to_ret = self.as_json to_ret.delete('auto_publish') to_ret.delete('id') to_ret end |