Class: BetterAuth::Doctor::Result

Inherits:
Struct
  • Object
show all
Defined in:
lib/better_auth/doctor.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#errorsObject

Returns the value of attribute errors

Returns:

  • (Object)

    the current value of errors



7
8
9
# File 'lib/better_auth/doctor.rb', line 7

def errors
  @errors
end

#okObject

Returns the value of attribute ok

Returns:

  • (Object)

    the current value of ok



7
8
9
# File 'lib/better_auth/doctor.rb', line 7

def ok
  @ok
end

#warningsObject

Returns the value of attribute warnings

Returns:

  • (Object)

    the current value of warnings



7
8
9
# File 'lib/better_auth/doctor.rb', line 7

def warnings
  @warnings
end

Instance Method Details

#success?Boolean

Returns:

  • (Boolean)


8
9
10
# File 'lib/better_auth/doctor.rb', line 8

def success?
  errors.empty?
end