Class: RocketFuel::Precheck::CheckResult
- Inherits:
-
Object
- Object
- RocketFuel::Precheck::CheckResult
- Defined in:
- lib/rocket_fuel/precheck/check_result.rb
Instance Attribute Summary collapse
-
#check_name ⇒ Object
readonly
Returns the value of attribute check_name.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#result ⇒ Object
readonly
Returns the value of attribute result.
Instance Method Summary collapse
-
#initialize(result, message, check_name) ⇒ CheckResult
constructor
A new instance of CheckResult.
- #ok? ⇒ Boolean
Constructor Details
#initialize(result, message, check_name) ⇒ CheckResult
Returns a new instance of CheckResult.
8 9 10 |
# File 'lib/rocket_fuel/precheck/check_result.rb', line 8 def initialize(result, , check_name) @result, @message, @check_name = result, , check_name end |
Instance Attribute Details
#check_name ⇒ Object (readonly)
Returns the value of attribute check_name.
6 7 8 |
# File 'lib/rocket_fuel/precheck/check_result.rb', line 6 def check_name @check_name end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
5 6 7 |
# File 'lib/rocket_fuel/precheck/check_result.rb', line 5 def @message end |
#result ⇒ Object (readonly)
Returns the value of attribute result.
4 5 6 |
# File 'lib/rocket_fuel/precheck/check_result.rb', line 4 def result @result end |
Instance Method Details
#ok? ⇒ Boolean
12 13 14 |
# File 'lib/rocket_fuel/precheck/check_result.rb', line 12 def ok? result end |