Sha256: 3218ccd306379ffa4a7af7d0528847c3557f8be0e9cae1aa44cbbf1796c6ad2b

Contents?: true

Size: 812 Bytes

Versions: 5

Compression:

Stored size: 812 Bytes

Contents

module Mumuki::Laboratory::Status::Submission
  include Mumuki::Laboratory::Status
end

require_relative './unknown'
require_relative './pending'
require_relative './running'
require_relative './passed'
require_relative './failed'
require_relative './errored'
require_relative './aborted'
require_relative './passed_with_warnings'
require_relative './manual_evaluation_pending'

module Mumuki::Laboratory::Status::Submission
  STATUSES = [Pending, Running, Passed, Failed, Errored, Aborted, PassedWithWarnings, ManualEvaluationPending]

  def group
    self
  end

  def passed?
    false
  end

  def failed?
    false
  end

  def errored?
    false
  end

  def aborted?
    false
  end

  def should_retry?
    true
  end

  def iconize
    group.iconize
  end

  def as_json(_options={})
    to_s
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
mumuki-laboratory-5.7.0 lib/mumuki/laboratory/status/submission/submission.rb
mumuki-laboratory-5.6.3 lib/mumuki/laboratory/status/submission/submission.rb
mumuki-laboratory-5.6.2 lib/mumuki/laboratory/status/submission/submission.rb
mumuki-laboratory-5.6.1 lib/mumuki/laboratory/status/submission/submission.rb
mumuki-laboratory-5.6.0 lib/mumuki/laboratory/status/submission/submission.rb