Method: IntelligentUtils#bad_state
- Defined in:
- lib/filestack/utils/utils.rb
#bad_state(state) ⇒ Boolean
Check if state is in error state or has reached maximum retries
179 180 181 |
# File 'lib/filestack/utils/utils.rb', line 179 def bad_state(state) !state.ok && state.alive? end |