Module: Mumuki::Domain::Status::Submission::PassedWithWarnings

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

.exp_givenObject



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

def self.exp_given
  50
end

.iconizeObject



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

def self.iconize
  {class: :warning, type: 'exclamation-circle'}
end

.passed_with_warnings?Boolean

Returns:

  • (Boolean)


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

def self.passed_with_warnings?
  true
end

.should_retry?Boolean

Returns:

  • (Boolean)


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

def self.should_retry?
  true
end