Class: Ish::EmailContext

Inherits:
Object
  • Object
show all
Includes:
Mongoid::Document, Mongoid::Timestamps
Defined in:
lib/ish/email_context.rb

Overview

This looks like it sends a single email?

Constant Summary collapse

PAGE_PARAM_NAME =
'email_contexts_page'
FROM_EMAILS =
%w| [email protected] [email protected] [email protected] [email protected] |

Class Method Summary collapse

Class Method Details

.from_email_listObject



15
16
17
# File 'lib/ish/email_context.rb', line 15

def self.from_email_list
  [ [nil, nil] ] + FROM_EMAILS.map { |i| [i, i] }
end