Sha256: d8e0b25260f08b02bc01e85a5ff8f26fae2974f91ac4bf1634dd6f27003379a9

Contents?: true

Size: 407 Bytes

Versions: 13

Compression:

Stored size: 407 Bytes

Contents

module Naf
  class RunIntervalStyle < NafBase
    # Protect from mass-assignment issue
    attr_accessible :name

    #---------------------
    # *** Associations ***
    #+++++++++++++++++++++

    has_many :application_schedules,
      class_name: '::Naf::ApplicationSchedule'

    #--------------------
    # *** Validations ***
    #++++++++++++++++++++

    validates :name, presence: true

  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
naf-2.1.13 app/models/naf/run_interval_style.rb
naf-2.1.12 app/models/naf/run_interval_style.rb
naf-2.1.11 app/models/naf/run_interval_style.rb
naf-2.1.10 app/models/naf/run_interval_style.rb
naf-2.1.9 app/models/naf/run_interval_style.rb
naf-2.1.8 app/models/naf/run_interval_style.rb
naf-2.1.6 app/models/naf/run_interval_style.rb
naf-2.1.5 app/models/naf/run_interval_style.rb
naf-2.1.4 app/models/naf/run_interval_style.rb
naf-2.1.3 app/models/naf/run_interval_style.rb
naf-2.1.2 app/models/naf/run_interval_style.rb
naf-2.1.1 app/models/naf/run_interval_style.rb
naf-2.1.0 app/models/naf/run_interval_style.rb