Class: Maia::DryRun

Inherits:
Message show all
Defined in:
lib/maia/dry_run.rb

Constant Summary

Constants inherited from Message

Message::MAX_TOKENS_AT_ONCE

Instance Method Summary collapse

Methods inherited from Message

#action, #badge, #body_i18n, #color, #content_available?, #data, #enqueue, #icon, #notification, #notify?, #priority, #send_to, #sound, #title_i18n, #to_h

Instance Method Details

#bodyObject



7
8
9
# File 'lib/maia/dry_run.rb', line 7

def body
  ''
end

#dry_run?Boolean

Returns:

  • (Boolean)


11
12
13
# File 'lib/maia/dry_run.rb', line 11

def dry_run?
  true
end

#titleObject



3
4
5
# File 'lib/maia/dry_run.rb', line 3

def title
  ''
end