Class: Slacky::CLI
- Inherits:
-
Object
- Object
- Slacky::CLI
- Defined in:
- lib/slacky/cli.rb
Instance Attribute Summary collapse
-
#bot ⇒ Object
readonly
Returns the value of attribute bot.
Instance Method Summary collapse
-
#initialize(name, bot_class, opts) ⇒ CLI
constructor
A new instance of CLI.
- #run(params) ⇒ Object
Constructor Details
Instance Attribute Details
#bot ⇒ Object (readonly)
Returns the value of attribute bot.
3 4 5 |
# File 'lib/slacky/cli.rb', line 3 def bot @bot end |
Instance Method Details
#run(params) ⇒ Object
11 12 13 |
# File 'lib/slacky/cli.rb', line 11 def run(params) @service.run end |