Module: Mumuki::Domain::Status::Submission::Errored

Extended by:
Mumuki::Domain::Status::Submission
Defined in:
lib/mumuki/domain/status/submission/errored.rb

Constant Summary

Constants included from Mumuki::Domain::Status::Submission

STATUSES

Class Method Summary collapse

Methods included from Mumuki::Domain::Status::Submission

completed?, exp_given, group, iconize, improved_by?, should_retry?, solved?

Methods included from Mumuki::Domain::Status

#==, #as_json, #dup, #to_i, #to_s, #to_sym

Class Method Details

.errored?Boolean

Returns:

  • (Boolean)


4
5
6
# File 'lib/mumuki/domain/status/submission/errored.rb', line 4

def self.errored?
  true
end

.groupObject



12
13
14
# File 'lib/mumuki/domain/status/submission/errored.rb', line 12

def self.group
  Mumuki::Domain::Status::Submission::Failed
end

.iconizeObject



16
17
18
# File 'lib/mumuki/domain/status/submission/errored.rb', line 16

def self.iconize
  {class: :broken, type: 'minus-circle'}
end

.should_retry?Boolean

Returns:

  • (Boolean)


8
9
10
# File 'lib/mumuki/domain/status/submission/errored.rb', line 8

def self.should_retry?
  true
end