Sha256: c0c189c340e9043a8edfa6271d21149eacd6ebe2844dd75ab05b1cf5de3608b8

Contents?: true

Size: 514 Bytes

Versions: 3

Compression:

Stored size: 514 Bytes

Contents

#
# Lead
# _vp_ 20171204
#
class Ish::Lead
  include Mongoid::Document
  include Mongoid::Timestamps

  store_in :collection => 'ish_lead'

  belongs_to :profile, :class_name => 'IshModels::UserProfile'

  field :email
  field :job_url
  field :company, :default => ''
  field :description

  STATES = [ :considering, :applied ]
  field :state, :type => Symbol

  field :is_done,  :type => Boolean, :default => false
  field :is_trash, :type => Boolean, :default => false

  field :applied_on, :type => Time

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ish_models-0.0.33.53 lib/ish/lead.rb
ish_models-0.0.33.52 lib/ish/lead.rb
ish_models-0.0.33.50 lib/ish/lead.rb