Sha256: fe32fd7ae5ca9b1aabeda395c2a7a131811af4b98d6e532e12cbcbc7da92d2b0

Contents?: true

Size: 135 Bytes

Versions: 8

Compression:

Stored size: 135 Bytes

Contents

class Marty::PostingType < Marty::Base
  extend Marty::Enum

  validates :name, presence: true
  validates :name, uniqueness: true
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
marty-11.0.0 app/models/marty/posting_type.rb
marty-10.0.3 app/models/marty/posting_type.rb
marty-10.0.2 app/models/marty/posting_type.rb
marty-10.0.0 app/models/marty/posting_type.rb
marty-9.5.1 app/models/marty/posting_type.rb
marty-9.5.0 app/models/marty/posting_type.rb
marty-9.3.3 app/models/marty/posting_type.rb
marty-9.3.2 app/models/marty/posting_type.rb