Module: Mumuki::Domain::Status::Submission::Failed

Extended by:
Mumuki::Domain::Status::Submission
Defined in:
lib/mumuki/domain/status/submission/failed.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

.failed?Boolean

Returns:

  • (Boolean)


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

def self.failed?
  true
end

.iconizeObject



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

def self.iconize
  {class: :danger, type: 'times-circle'}
end

.should_retry?Boolean

Returns:

  • (Boolean)


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

def self.should_retry?
  true
end