Sha256: 79db55e3f13ba455470879a7c821b95503387f690f29c64ad5424c396d7444e3

Contents?: true

Size: 131 Bytes

Versions: 5

Compression:

Stored size: 131 Bytes

Contents

class GatedFeature < ActiveRecord::Base
  validates :name, presence: true
  validates :gated, inclusion: { in: [true, false] }
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
feature_gate-0.0.5 app/models/gated_feature.rb
feature_gate-0.0.4 app/models/gated_feature.rb
feature_gate-0.0.3 app/models/gated_feature.rb
feature_gate-0.0.2 app/models/gated_feature.rb
feature_gate-0.0.1 app/models/gated_feature.rb