Module: Panda::VideoState

Included in:
Encoding, Video
Defined in:
lib/panda/modules/video_state.rb

Instance Method Summary collapse

Instance Method Details

#fail?Boolean

Returns:

  • (Boolean)


11
12
13
# File 'lib/panda/modules/video_state.rb', line 11

def fail?
  @attributes['status'] == 'fail'
end

#processing?Boolean

Returns:

  • (Boolean)


7
8
9
# File 'lib/panda/modules/video_state.rb', line 7

def processing?
  @attributes['status'] == 'processing'
end

#success?Boolean

Returns:

  • (Boolean)


3
4
5
# File 'lib/panda/modules/video_state.rb', line 3

def success?
  @attributes['status'] == 'success'
end