Class: ChatworkBridge::CLI
- Inherits:
-
Thor
- Object
- Thor
- ChatworkBridge::CLI
- Defined in:
- lib/chatwork_bridge/cli.rb
Instance Method Summary collapse
Instance Method Details
#watch ⇒ Object
9 10 11 12 13 14 15 16 17 18 |
# File 'lib/chatwork_bridge/cli.rb', line 9 def watch settings = load_settings watcher = Watcher.new({ chatwork_login_url: settings.chatwork_login_url, chatwork_email: settings.chatwork_email, chatwork_password: settings.chatwork_password, }) watcher.notifiers = settings.notifiers watcher.run end |