Class: Yadecli::Cli::Application

Inherits:
Thor
  • Object
show all
Defined in:
lib/yadecli/cli/application.rb

Overview

Application

Instance Method Summary collapse

Instance Method Details

#connect(url) ⇒ Object



15
16
17
# File 'lib/yadecli/cli/application.rb', line 15

def connect(url)
  Yadecli::Service::ConnectService.new.connect url
end

#login(auth_url, username, password) ⇒ Object



20
21
22
# File 'lib/yadecli/cli/application.rb', line 20

def (auth_url, username, password)
  Yadecli::Service::AuthenticationService.new. auth_url, username, password
end