Class: SmartTodo::Dispatchers::Output

Inherits:
Base
  • Object
show all
Defined in:
lib/smart_todo/dispatchers/output.rb

Overview

A simple dispatcher that will output the reminder.

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Base

class_for, #initialize

Constructor Details

This class inherits a constructor from SmartTodo::Dispatchers::Base

Class Method Details

.validate_options!(_) ⇒ Object



8
# File 'lib/smart_todo/dispatchers/output.rb', line 8

def validate_options!(_); end

Instance Method Details

#dispatchObject

Returns void.

Returns:

  • void



12
13
14
# File 'lib/smart_todo/dispatchers/output.rb', line 12

def dispatch
  puts slack_message({}, nil)
end