Module: SphereEngine::REST::Submissions
Instance Method Summary collapse
-
#create_submission_compiler(options = {}) ⇒ Object
This request you should send a compilerId and source.
- #create_submission_problem(options = {}) ⇒ Object
-
#fetch_submission_compilers(submission_id, options = {}) ⇒ Object
This request you should send a submissionId.
- #fetch_submission_problems(submission_id) ⇒ Object
Instance Method Details
#create_submission_compiler(options = {}) ⇒ Object
This request you should send a compilerId and source
8 9 10 |
# File 'lib/sphere_engine/rest/submissions.rb', line 8 def create_submission_compiler( = {}) perform_post_requests_of_comp |
#create_submission_problem(options = {}) ⇒ Object
19 20 21 |
# File 'lib/sphere_engine/rest/submissions.rb', line 19 def create_submission_problem( = {}) perform_post_requests_of_problems_service('/submissions', ) end |
#fetch_submission_compilers(submission_id, options = {}) ⇒ Object
This request you should send a submissionId
14 15 16 |
# File 'lib/sphere_engine/rest/submissions.rb', line 14 def fetch_submission_compilers(submission_id, = {}) perform_get_requests_of_comp |
#fetch_submission_problems(submission_id) ⇒ Object
24 25 26 |
# File 'lib/sphere_engine/rest/submissions.rb', line 24 def fetch_submission_problems(submission_id) perform_get_requests_of_problems_service("/submissions/#{submission_id}") end |