Class: Fal::Status::Base
- Inherits:
-
Object
- Object
- Fal::Status::Base
- Defined in:
- lib/fal/status.rb
Overview
Base class for all status types
Direct Known Subclasses
Instance Attribute Summary collapse
-
#raw_data ⇒ Object
readonly
Returns the value of attribute raw_data.
Instance Method Summary collapse
- #completed? ⇒ Boolean
- #in_progress? ⇒ Boolean
-
#initialize(raw_data) ⇒ Base
constructor
A new instance of Base.
- #queued? ⇒ Boolean
Constructor Details
#initialize(raw_data) ⇒ Base
Returns a new instance of Base.
9 10 11 |
# File 'lib/fal/status.rb', line 9 def initialize(raw_data) @raw_data = raw_data end |
Instance Attribute Details
#raw_data ⇒ Object (readonly)
Returns the value of attribute raw_data.
7 8 9 |
# File 'lib/fal/status.rb', line 7 def raw_data @raw_data end |
Instance Method Details
#completed? ⇒ Boolean
21 22 23 |
# File 'lib/fal/status.rb', line 21 def completed? false end |
#in_progress? ⇒ Boolean
17 18 19 |
# File 'lib/fal/status.rb', line 17 def in_progress? false end |
#queued? ⇒ Boolean
13 14 15 |
# File 'lib/fal/status.rb', line 13 def queued? false end |