Class: RailsWayback::Doctor::Check

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#message ⇒ Object

Returns the value of attribute message

Returns:

  • (Object) —

    the current value of message



11
12
13
# File 'lib/rails_wayback/doctor.rb', line 11

def message
  @message
end

#name ⇒ Object

Returns the value of attribute name

Returns:

  • (Object) —

    the current value of name



11
12
13
# File 'lib/rails_wayback/doctor.rb', line 11

def name
  @name
end

#status ⇒ Object

Returns the value of attribute status

Returns:

  • (Object) —

    the current value of status



11
12
13
# File 'lib/rails_wayback/doctor.rb', line 11

def status
  @status
end

Instance Method Details

#error? ⇒ Boolean

Returns:

  • (Boolean)


12
13
14
# File 'lib/rails_wayback/doctor.rb', line 12

def error?
  status == :error
end