Class: Mumuki::Domain::Submission::Confirmation

Inherits:
PersistentSubmission show all
Defined in:
lib/mumuki/domain/submission/confirmation.rb

Constant Summary

Constants inherited from Base

Base::ATTRIBUTES

Instance Attribute Summary

Attributes inherited from Base

#client_result

Instance Method Summary collapse

Methods inherited from PersistentSubmission

#save_submission!

Methods inherited from Base

#dry_run!, #evaluate!, from_attributes, #id, mapping_attributes, #run!, #with_client_result

Instance Method Details

#contentObject



2
3
4
# File 'lib/mumuki/domain/submission/confirmation.rb', line 2

def content
  nil
end

#try_evaluate!Object



6
7
8
# File 'lib/mumuki/domain/submission/confirmation.rb', line 6

def try_evaluate!(*)
  {status: Mumuki::Domain::Status::Submission::Passed, result: ''}
end