Sha256: 98978026856c9632149634a6c4d5fe4f8a71c545155a484153e6c8a80ef8fd5b

Contents?: true

Size: 215 Bytes

Versions: 2

Compression:

Stored size: 215 Bytes

Contents

class Organization < MLS::Model
  include MLS::Avatar
  include MLS::Slugger
  
  has_many :agents, :class_name => 'Account'
  has_and_belongs_to_many :regions
  
  def name
    common_name || legal_name
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mls-1.5.0 lib/mls/organization.rb
mls-1.4.3 lib/mls/organization.rb