Class: TFA::UsageCommand
- Inherits:
-
Object
- Object
- TFA::UsageCommand
- Defined in:
- lib/tfa/usage_command.rb
Instance Method Summary collapse
-
#initialize(storage) ⇒ UsageCommand
constructor
A new instance of UsageCommand.
- #run(arguments) ⇒ Object
Constructor Details
#initialize(storage) ⇒ UsageCommand
3 4 5 |
# File 'lib/tfa/usage_command.rb', line 3 def initialize(storage) @storage = storage end |
Instance Method Details
#run(arguments) ⇒ Object
7 8 9 10 11 12 13 14 |
# File 'lib/tfa/usage_command.rb', line 7 def run(arguments) "Try:\n - tfa add develoment <secret>\n - tfa show development\n - tfa totp development\n MESSAGE\nend\n" |