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
7 8 9 |
# File 'app/services/hr_lite/attendance_puncher.rb', line 7 def error @error end |
#record ⇒ Object
Returns the value of attribute record
7 8 9 |
# File 'app/services/hr_lite/attendance_puncher.rb', line 7 def record @record end |
Instance Method Details
#ok? ⇒ Boolean
8 |
# File 'app/services/hr_lite/attendance_puncher.rb', line 8 def ok? = error.nil? |