Class: Whatup::CLI::Client

Inherits:
Thor
  • Object
show all
Defined in:
lib/whatup/cli/commands/client.rb

Overview

Client commands

Instance Method Summary collapse

Instance Method Details

#connectObject



17
18
19
20
# File 'lib/whatup/cli/commands/client.rb', line 17

def connect
  config = {ip: options[:ip], port: options[:port]}
  Whatup::Client::Client.new(config).connect
end