Class: Puppet::Util::NetworkDevice::Nexus_rest_api::Device
- Inherits:
-
ResourceApi::Transport::Wrapper
- Object
- ResourceApi::Transport::Wrapper
- Puppet::Util::NetworkDevice::Nexus_rest_api::Device
- Defined in:
- lib/puppet/util/network_device/nexus_rest_api/device.rb
Overview
The Nexus_rest_api module only contains the Device class to bridge from puppet’s internals to the Transport. All the heavy lifting is done bye the Puppet::ResourceApi::Transport::Wrapper
Instance Method Summary collapse
-
#initialize(url_or_config, _options = {}) ⇒ Device
constructor
Bridging from puppet to the nexus_rest_api transport.
Constructor Details
#initialize(url_or_config, _options = {}) ⇒ Device
Bridging from puppet to the nexus_rest_api transport
12 13 14 |
# File 'lib/puppet/util/network_device/nexus_rest_api/device.rb', line 12 def initialize(url_or_config, = {}) super('nexus_rest_api', url_or_config) end |