Class: AutoNetwork::Action::LoadPool
- Defined in:
- lib/auto_network/action/load_pool.rb
Instance Method Summary collapse
-
#call(env) ⇒ void
Handle the loading and unloading of the auto_network pool.
Methods inherited from Base
#filter_private_network, #initialize, #machine_auto_networks, #machine_has_address?
Constructor Details
This class inherits a constructor from AutoNetwork::Action::Base
Instance Method Details
#call(env) ⇒ void
This method returns an undefined value.
Handle the loading and unloading of the auto_network pool
13 14 15 16 17 18 19 20 21 22 23 |
# File 'lib/auto_network/action/load_pool.rb', line 13 def call(env) @env = env if env_ready? setup_ivars deserialize! if AutoNetwork.pool_manager.nil? @app.call(@env) else @app.call(@env) end end |