Module: Panda::VideoState
Instance Method Summary collapse
Instance Method Details
#fail? ⇒ Boolean
11 12 13 |
# File 'lib/panda/modules/video_state.rb', line 11 def fail? @attributes['status'] == 'fail' end |
#processing? ⇒ Boolean
7 8 9 |
# File 'lib/panda/modules/video_state.rb', line 7 def processing? @attributes['status'] == 'processing' end |
#success? ⇒ Boolean
3 4 5 |
# File 'lib/panda/modules/video_state.rb', line 3 def success? @attributes['status'] == 'success' end |