Class: Moogle::EmailTarget

Inherits:
Target
  • Object
show all
Defined in:
lib/moogle/models/email_target.rb

Instance Method Summary collapse

Methods inherited from Target

default_repository_name

Instance Method Details

#validate_optionsObject



9
10
11
12
13
# File 'lib/moogle/models/email_target.rb', line 9

def validate_options
  return false, 'options "to" is blank' if options['to'].blank?
  return false, 'options "from" is blank' if options['from'].blank?
  true
end