Sha256: fa73f1ad6478a5726d53ee50933f35ea77fbc27db4b7c95347b2515035f69e94

Contents?: true

Size: 243 Bytes

Versions: 8

Compression:

Stored size: 243 Bytes

Contents

module Panda
  module VideoState
    def success?
      @attributes['status'] == 'success'
    end

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

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

  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
panda-1.6.1 lib/panda/modules/video_state.rb
panda-1.6.0 lib/panda/modules/video_state.rb
panda-1.5.0 lib/panda/modules/video_state.rb
panda-1.4.4 lib/panda/modules/video_state.rb
panda-1.4.3 lib/panda/modules/video_state.rb
panda-1.4.2 lib/panda/modules/video_state.rb
panda-1.4.1 lib/panda/modules/video_state.rb
panda-1.4.0 lib/panda/modules/video_state.rb