Class: Puppet::Util::NetworkDevice::Cisco_ios::Facts
- Inherits:
-
Object
- Object
- Puppet::Util::NetworkDevice::Cisco_ios::Facts
- Includes:
- Dsl
- Defined in:
- lib/puppet/util/network_device/cisco_ios/facts.rb
Instance Attribute Summary collapse
-
#transport ⇒ Object
readonly
Returns the value of attribute transport.
Instance Method Summary collapse
-
#facts ⇒ Object
TODO.
- #facts_to_hash ⇒ Object
-
#initialize(transport) ⇒ Facts
constructor
A new instance of Facts.
- #mod_const_base ⇒ Object
- #mod_path_base ⇒ Object
- #param_class ⇒ Object
Constructor Details
#initialize(transport) ⇒ Facts
Returns a new instance of Facts.
13 14 15 |
# File 'lib/puppet/util/network_device/cisco_ios/facts.rb', line 13 def initialize(transport) @transport = transport end |
Instance Attribute Details
#transport ⇒ Object (readonly)
Returns the value of attribute transport.
11 12 13 |
# File 'lib/puppet/util/network_device/cisco_ios/facts.rb', line 11 def transport @transport end |
Instance Method Details
#facts ⇒ Object
TODO
30 31 32 |
# File 'lib/puppet/util/network_device/cisco_ios/facts.rb', line 30 def facts @params end |
#facts_to_hash ⇒ Object
34 35 36 |
# File 'lib/puppet/util/network_device/cisco_ios/facts.rb', line 34 def facts_to_hash params_to_hash end |
#mod_const_base ⇒ Object
21 22 23 |
# File 'lib/puppet/util/network_device/cisco_ios/facts.rb', line 21 def mod_const_base return Puppet::Util::NetworkDevice::Cisco_ios::PossibleFacts end |
#mod_path_base ⇒ Object
17 18 19 |
# File 'lib/puppet/util/network_device/cisco_ios/facts.rb', line 17 def mod_path_base return 'puppet/util/network_device/cisco_ios/possible_facts' end |
#param_class ⇒ Object
25 26 27 |
# File 'lib/puppet/util/network_device/cisco_ios/facts.rb', line 25 def param_class return Puppet::Util::NetworkDevice::Cisco_ios::Fact end |