Sha256: 0faf1c3a2e1c8e2564cacb1d07486e096eb3554bfb5c10c98ccfc25820ee7e88

Contents?: true

Size: 400 Bytes

Versions: 13

Compression:

Stored size: 400 Bytes

Contents

##
## The obfuscated action
##
class Office::LeadAction
  include Mongoid::Document
  include Mongoid::Timestamps

  belongs_to :lead_action_template, class_name: '::Office::LeadActionTemplate', inverse_of: :lead_actions, foreign_key: :tmpl_id

  field     :lead_id, type: :integer
  validates :lead_id, presence: true
  def lead
    Lead.find( lead_id )
  end

  field :params, type: Object


end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
ish_models-0.0.33.283 lib/office/lead_action.rb
ish_models-0.0.33.282 lib/office/lead_action.rb
ish_models-0.0.33.281 lib/office/lead_action.rb
ish_models-0.0.33.280 lib/office/lead_action.rb
ish_models-0.0.33.279 lib/office/lead_action.rb
ish_models-0.0.33.278 lib/office/lead_action.rb
ish_models-0.0.33.277 lib/office/lead_action.rb
ish_models-0.0.33.276 lib/office/lead_action.rb
ish_models-0.0.33.275 lib/office/lead_action.rb
ish_models-0.0.33.274 lib/office/lead_action.rb
ish_models-0.0.33.273 lib/office/lead_action.rb
ish_models-0.0.33.272 lib/office/lead_action.rb
ish_models-0.0.33.271 lib/office/lead_action.rb