Class: F5::Cli::Device
- Inherits:
-
Subcommand
- Object
- Thor
- Subcommand
- F5::Cli::Device
- Defined in:
- lib/f5/cli/application.rb
Instance Method Summary collapse
Instance Method Details
#list ⇒ Object
381 382 383 384 385 386 387 388 389 390 391 392 |
# File 'lib/f5/cli/application.rb', line 381 def list response = client.Management.Device.get_list devices = Array(response[:item]) if devices.empty? puts "No devices found" else devices.each do |p| puts p end end end |