Sha256: c3bc9025a6146ae741f4d867e5e32dbd45a7f22f12c522e814be20e51ff3ba4c

Contents?: true

Size: 175 Bytes

Versions: 4

Compression:

Stored size: 175 Bytes

Contents

class Service < MLS::Model
  self.inheritance_column = nil

  belongs_to :subscription
  belongs_to :subject, polymorphic: true

  def name
    self.type.humanize
  end
  
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mls-1.9.0 lib/mls/models/service.rb
mls-1.8.0 lib/mls/models/service.rb
mls-1.7.0 lib/mls/models/service.rb
mls-1.6.0 lib/mls/models/service.rb