Class: RPlatform::Rails::StatusCheck

Inherits:
Object
  • Object
show all
Defined in:
lib/rplatform_rails/status_manager.rb

Instance Method Summary collapse

Instance Method Details

#messageObject



62
63
64
65
66
67
68
# File 'lib/rplatform_rails/status_manager.rb', line 62

def message
  if valid?
    return valid_message
  else
    return invalid_message
  end
end

#valid?Boolean

Returns:

  • (Boolean)


59
60
61
# File 'lib/rplatform_rails/status_manager.rb', line 59

def valid?
  return @valid
end