Sha256: 492635297bbbd39b5ad2806ac20cdc40929dd0dc4347412148890517b7529ffa

Contents?: true

Size: 279 Bytes

Versions: 2

Compression:

Stored size: 279 Bytes

Contents

class CommEvtPurposeType < ActiveRecord::Base
  attr_protected :created_at, :updated_at

  has_and_belongs_to_many :communication_events,
    :join_table => 'comm_evt_purposes'

  def to_label
    "#{description}"
  end

  def to_s
    "#{description}"
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
erp_communication_events-4.0.0 app/models/comm_evt_purpose_type.rb
erp_communication_events-3.1.0 app/models/comm_evt_purpose_type.rb