Module: Mumuki::Domain::Status::Submission::Failed
Constant Summary
STATUSES
Class Method Summary
collapse
completed?, exp_given, group, iconize, improved_by?, should_retry?, solved?
#==, #as_json, #dup, #to_i, #to_s, #to_sym
Class Method Details
.failed? ⇒ Boolean
4
5
6
|
# File 'lib/mumuki/domain/status/submission/failed.rb', line 4
def self.failed?
true
end
|
.iconize ⇒ Object
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
8
9
10
|
# File 'lib/mumuki/domain/status/submission/failed.rb', line 8
def self.should_retry?
true
end
|