Sha256: 041a202312706b048ab57aa92363b35f833a9c4e58a43c614a53f57034171f37

Contents?: true

Size: 603 Bytes

Versions: 45

Compression:

Stored size: 603 Bytes

Contents

class Wco::OfficeActionTemplateTie
  include Mongoid::Document
  include Mongoid::Timestamps
  store_in collection: 'wco_office_action_template_ties'

  attr_accessor :to_delete

  belongs_to :office_action_template,      class_name: 'OfficeActionTemplate', inverse_of: :ties
  def oat; office_action_template; end

  belongs_to :next_office_action_template, class_name: 'OfficeActionTemplate', inverse_of: :prev_ties
  def next_oat; next_office_action_template; end
  # def tmpl;     next_office_action_template; end


  field :next_at_exe, type: :string
  validates :next_at_exe, presence: true

end

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
wco_models-3.1.0.83 app/models/wco/office_action_template_tie.rb
wco_models-3.1.0.82 app/models/wco/office_action_template_tie.rb
wco_models-3.1.0.81 app/models/wco/office_action_template_tie.rb
wco_models-3.1.0.80 app/models/wco/office_action_template_tie.rb
wco_models-3.1.0.79 app/models/wco/office_action_template_tie.rb
wco_models-3.1.0.78 app/models/wco/office_action_template_tie.rb
wco_models-3.1.0.77 app/models/wco/office_action_template_tie.rb
wco_models-3.1.0.76 app/models/wco/office_action_template_tie.rb
wco_models-3.1.0.75 app/models/wco/office_action_template_tie.rb
wco_models-3.1.0.74 app/models/wco/office_action_template_tie.rb
wco_models-3.1.0.73 app/models/wco/office_action_template_tie.rb
wco_models-3.1.0.72 app/models/wco/office_action_template_tie.rb
wco_models-3.1.0.71 app/models/wco/office_action_template_tie.rb
wco_models-3.1.0.70 app/models/wco/office_action_template_tie.rb
wco_models-3.1.0.69 app/models/wco/office_action_template_tie.rb
wco_models-3.1.0.67 app/models/wco/office_action_template_tie.rb
wco_models-3.1.0.66 app/models/wco/office_action_template_tie.rb
wco_models-3.1.0.65 app/models/wco/office_action_template_tie.rb
wco_models-3.1.0.64 app/models/wco/office_action_template_tie.rb
wco_models-3.1.0.63 app/models/wco/office_action_template_tie.rb