Class: Boty::CLI
Instance Attribute Summary collapse
-
#api_key ⇒ Object
readonly
Returns the value of attribute api_key.
-
#bot_name ⇒ Object
readonly
Returns the value of attribute bot_name.
-
#company ⇒ Object
readonly
Returns the value of attribute company.
Instance Method Summary collapse
Instance Attribute Details
#api_key ⇒ Object (readonly)
Returns the value of attribute api_key.
8 9 10 |
# File 'lib/boty/cli.rb', line 8 def api_key @api_key end |
#bot_name ⇒ Object (readonly)
Returns the value of attribute bot_name.
8 9 10 |
# File 'lib/boty/cli.rb', line 8 def bot_name @bot_name end |
#company ⇒ Object (readonly)
Returns the value of attribute company.
8 9 10 |
# File 'lib/boty/cli.rb', line 8 def company @company end |
Instance Method Details
#new(bot_name) ⇒ Object
22 23 24 25 26 27 |
# File 'lib/boty/cli.rb', line 22 def new(bot_name) @bot_name = bot_name acquire_bot_info directory "project", bot_name, verbose: verbose after_create end |