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
169 170 171 |
# File 'lib/filestack/utils/utils.rb', line 169 def bad_state(state) !state.ok && state.alive? end |