Class: BetterAuth::Doctor::Result
- Inherits:
-
Struct
- Object
- Struct
- BetterAuth::Doctor::Result
- Defined in:
- lib/better_auth/doctor.rb
Instance Attribute Summary collapse
-
#errors ⇒ Object
Returns the value of attribute errors.
-
#ok ⇒ Object
Returns the value of attribute ok.
-
#warnings ⇒ Object
Returns the value of attribute warnings.
Instance Method Summary collapse
Instance Attribute Details
#errors ⇒ Object
Returns the value of attribute errors
7 8 9 |
# File 'lib/better_auth/doctor.rb', line 7 def errors @errors end |
#ok ⇒ Object
Returns the value of attribute ok
7 8 9 |
# File 'lib/better_auth/doctor.rb', line 7 def ok @ok end |
#warnings ⇒ Object
Returns the value of attribute warnings
7 8 9 |
# File 'lib/better_auth/doctor.rb', line 7 def warnings @warnings end |
Instance Method Details
#success? ⇒ Boolean
8 9 10 |
# File 'lib/better_auth/doctor.rb', line 8 def success? errors.empty? end |