Module: ShortStatus

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

Instance Method Summary collapse

Instance Method Details

#fail?Boolean

Returns:

  • (Boolean)


10
11
12
# File 'lib/panda/modules/short_status.rb', line 10

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

#processing?Boolean

Returns:

  • (Boolean)


6
7
8
# File 'lib/panda/modules/short_status.rb', line 6

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

#success?Boolean

Returns:

  • (Boolean)


2
3
4
# File 'lib/panda/modules/short_status.rb', line 2

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