Module: TurnipFormatter::Resource::Step::PendingResult
Instance Attribute Summary collapse
-
#pending_location ⇒ Object
readonly
Returns the value of attribute pending_location.
-
#pending_message ⇒ Object
readonly
Returns the value of attribute pending_message.
Instance Method Summary collapse
Instance Attribute Details
#pending_location ⇒ Object (readonly)
Returns the value of attribute pending_location.
6 7 8 |
# File 'lib/turnip_formatter/resource/step/pending_result.rb', line 6 def pending_location @pending_location end |
#pending_message ⇒ Object (readonly)
Returns the value of attribute pending_message.
5 6 7 |
# File 'lib/turnip_formatter/resource/step/pending_result.rb', line 5 def end |
Instance Method Details
#pending? ⇒ Boolean
8 9 10 |
# File 'lib/turnip_formatter/resource/step/pending_result.rb', line 8 def pending? !.nil? end |
#set_pending(message, location) ⇒ Object
12 13 14 15 |
# File 'lib/turnip_formatter/resource/step/pending_result.rb', line 12 def set_pending(, location) = @pending_location = location end |