Class: PolyglotIos::Command::Login
- Inherits:
-
Object
- Object
- PolyglotIos::Command::Login
- Includes:
- Helper::Terminal
- Defined in:
- lib/ios_polyglot_cli/commands/login.rb
Class Method Summary collapse
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(options = Commander::Command::Options.new) ⇒ Login
constructor
A new instance of Login.
Methods included from Helper::Terminal
#generate_token_message, #prompt, #success
Constructor Details
#initialize(options = Commander::Command::Options.new) ⇒ Login
Returns a new instance of Login.
10 11 12 |
# File 'lib/ios_polyglot_cli/commands/login.rb', line 10 def initialize( = Commander::Command::Options.new) @options = end |
Class Method Details
.init(options = Commander::Command::Options.new) ⇒ Object
6 7 8 |
# File 'lib/ios_polyglot_cli/commands/login.rb', line 6 def self.init( = Commander::Command::Options.new) new().call end |
Instance Method Details
#call ⇒ Object
14 15 16 17 |
# File 'lib/ios_polyglot_cli/commands/login.rb', line 14 def call prompt.error("Login command removed!\n") prompt.warn(()) end |