Class: Ruboty::Adapters::Twitter
- Inherits:
-
Base
- Object
- Base
- Ruboty::Adapters::Twitter
- Includes:
- Mem
- Defined in:
- lib/ruboty/adapters/twitter.rb
Instance Method Summary collapse
Instance Method Details
#run ⇒ Object
16 17 18 19 20 21 |
# File 'lib/ruboty/adapters/twitter.rb', line 16 def run Ruboty.logger.debug("#{self.class}##{__method__} started") abortable listen Ruboty.logger.debug("#{self.class}##{__method__} finished") end |
#say(message) ⇒ Object
23 24 25 |
# File 'lib/ruboty/adapters/twitter.rb', line 23 def say() client.update([:body], in_reply_to_status_id: [:original][:tweet].try(:id)) end |