Class: HammerCLIForeman::SmartProxy::ListCommand
- Inherits:
-
ListCommand
- Object
- ListCommand
- HammerCLIForeman::SmartProxy::ListCommand
- Defined in:
- lib/hammer_cli_foreman/smart_proxy.rb
Instance Method Summary collapse
Instance Method Details
#extend_data(proxy) ⇒ Object
19 20 21 22 |
# File 'lib/hammer_cli_foreman/smart_proxy.rb', line 19 def extend_data(proxy) proxy['_features'] = proxy['features'].map { |f| f['name'] } if proxy['features'] proxy end |