Module: PacerApi::Batch::Status
- Included in:
- CaseSearch, PartySearch
- Defined in:
- lib/pacer_api/batch/status.rb
Constant Summary collapse
- COMPLETED =
"COMPLETED"
- RUNNING =
"RUNNING"
- WAITING =
"WAITING"
- FAILED =
"FAILED"
Instance Method Summary collapse
Instance Method Details
#completed? ⇒ Boolean
11 12 13 |
# File 'lib/pacer_api/batch/status.rb', line 11 def completed? status == COMPLETED end |
#failed? ⇒ Boolean
23 24 25 |
# File 'lib/pacer_api/batch/status.rb', line 23 def failed? status == FAILED end |
#running? ⇒ Boolean
15 16 17 |
# File 'lib/pacer_api/batch/status.rb', line 15 def running? status == RUNNING end |
#waiting? ⇒ Boolean
19 20 21 |
# File 'lib/pacer_api/batch/status.rb', line 19 def waiting? status == WAITING end |