Class: HrLite::AttendancePuncher::Result
- Inherits:
-
Struct
- Object
- Struct
- HrLite::AttendancePuncher::Result
- Defined in:
- app/services/hr_lite/attendance_puncher.rb
Instance Attribute Summary collapse
-
#error ⇒ Object
Returns the value of attribute error.
-
#record ⇒ Object
Returns the value of attribute record.
Instance Method Summary collapse
Instance Attribute Details
#error ⇒ Object
Returns the value of attribute error
10 11 12 |
# File 'app/services/hr_lite/attendance_puncher.rb', line 10 def error @error end |
#record ⇒ Object
Returns the value of attribute record
10 11 12 |
# File 'app/services/hr_lite/attendance_puncher.rb', line 10 def record @record end |
Instance Method Details
#ok? ⇒ Boolean
11 |
# File 'app/services/hr_lite/attendance_puncher.rb', line 11 def ok? = error.nil? |