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.42 app/models/wco/office_action_template_tie.rb
wco_models-3.1.0.41 app/models/wco/office_action_template_tie.rb
wco_models-3.1.0.40 app/models/wco/office_action_template_tie.rb
wco_models-3.1.0.39 app/models/wco/office_action_template_tie.rb
wco_models-3.1.0.38 app/models/wco/office_action_template_tie.rb