Class: HrLite::Setting
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- HrLite::Setting
- Includes:
- Audited
- Defined in:
- app/models/hr_lite/setting.rb
Overview
Engine-owned singleton settings row.
Constant Summary collapse
- WEEKEND_POLICIES =
%w[sun_only sat_sun second_fourth_sat_sun].freeze
Constants included from Audited
Audited::REDACTED, Audited::SKIPPED_ATTRIBUTES
Class Method Summary collapse
Class Method Details
.instance ⇒ Object
12 13 14 |
# File 'app/models/hr_lite/setting.rb', line 12 def self.instance first_or_create! end |