Sha256: 570b05880de69048c3756fadfe8149d561b588c8d46becbbae67443371fa7cce

Contents?: true

Size: 1.1 KB

Versions: 8

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 ,  :text           
     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

8 entries across 8 versions & 1 rubygems

Version Path
cloudwow-not_relational-0.1.11 test/models/outgoing_email.rb
cloudwow-not_relational-0.1.2 test/models/outgoing_email.rb
cloudwow-not_relational-0.1.3 test/models/outgoing_email.rb
cloudwow-not_relational-0.1.5 test/models/outgoing_email.rb
cloudwow-not_relational-0.1.6 test/models/outgoing_email.rb
cloudwow-not_relational-0.1.7 test/models/outgoing_email.rb
cloudwow-not_relational-0.1.8 test/models/outgoing_email.rb
cloudwow-not_relational-0.1.9 test/models/outgoing_email.rb