Sha256: 65d287250bf70b069f406bed999b49b2cd030904d1cabbd92345f05ef37d71ac

Contents?: true

Size: 1.1 KB

Versions: 1

Compression:

Stored size: 1.1 KB

Contents

require 'digest/sha1'
require "uri"

require "model/domain_model.rb"
class OutgoingEmail < DomainModel
    
  property :id,:string,:is_primary_key=>true
 property :group_invite_id,:string
 
  property :to_address      ,        :string    
  property :to_user_login   ,        :string                   
  property :from_address    ,        :string                                 
  property :subject_blurb  ,        :string                                
  property :content_blurb   ,        :string                            
  property :from_name          ,        :string                   
  property :language_id     ,        :string                 
  property :sent_time      ,        :date       
  property :send_attempt_count  , :unsigned_integer             
  property :last_send_attempt_time ,        :date                      
 property :blurb_parameters_yaml ,  :clob           
     belongs_to :GroupInvite,:group_invite_id
   def OutgoingEmail.convert_arg_to_outgoing_email(email_arg)
     return email_arg if email_arg.respond_to?(:group_invite_id)       
    OutgoingEmail.find(email_id)
   end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cloudwow-not_relational-0.1.0 test/models/outgoing_email.rb