Class: NtqExcelsior::Context
- Inherits:
-
OpenStruct
- Object
- OpenStruct
- NtqExcelsior::Context
- Defined in:
- lib/ntq_excelsior/context.rb
Instance Attribute Summary collapse
-
#success ⇒ Object
Returns the value of attribute success.
Instance Method Summary collapse
Instance Attribute Details
#success ⇒ Object
Returns the value of attribute success.
5 6 7 |
# File 'lib/ntq_excelsior/context.rb', line 5 def success @success end |
Instance Method Details
#error? ⇒ Boolean
11 12 13 |
# File 'lib/ntq_excelsior/context.rb', line 11 def error? !@success.nil? && !@success end |
#success? ⇒ Boolean
7 8 9 |
# File 'lib/ntq_excelsior/context.rb', line 7 def success? @success.nil? || @success end |