Class: SwissAdmin::Commands::Network
- Inherits:
-
Thor
- Object
- Thor
- SwissAdmin::Commands::Network
- Defined in:
- lib/swiss_admin/cli/network_cli.rb
Instance Method Summary collapse
Instance Method Details
#first_ipv4 ⇒ Object
13 14 15 |
# File 'lib/swiss_admin/cli/network_cli.rb', line 13 def first_ipv4 $stdout.puts SwissAdmin::Network.first_ipv4 end |
#ip_addresses ⇒ Object
8 9 10 |
# File 'lib/swiss_admin/cli/network_cli.rb', line 8 def ip_addresses $stdout.puts SwissAdmin::Network.ip_addresses end |