Sha256: 637c61a54dfd470fd5fa8716965ddb9ecb2a1cf6f9f404f192a63b61729ef6d9

Contents?: true

Size: 246 Bytes

Versions: 1

Compression:

Stored size: 246 Bytes

Contents

class RESO::Team < ApplicationRecord
  self.table_name = 'reso_teams'

  has_one :team_status_assignment, as: :enumerable
  has_one :team_status, through: :team_status_assignment, source: :enumeration, class_name: "RESO::Lookup::TeamStatus"

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
reso-0.2.2 lib/reso/app/models/reso/team.rb