Module: Bearcat::Client::Submissions

Extended by:
ClientModule
Defined in:
lib/bearcat/client/submissions.rb

Constant Summary

Constants included from ClientModule

ClientModule::ARG_REGEX

Instance Attribute Summary

Attributes included from ClientModule

#_registered_endpoints

Instance Method Summary collapse

Methods included from ClientModule

context_types, endpoint, prefix

Instance Method Details

#course_file_upload_submission(course, assignment, user, file_data, params = {}) ⇒ Object



23
24
25
# File 'lib/bearcat/client/submissions.rb', line 23

def course_file_upload_submission(course, assignment, user, file_data, params={})
  file_upload_submission(course, assignment, user, file_data, params, type: :course)
end

#section_file_upload_submission(section, assignment, user, file_data, params = {}) ⇒ Object



27
28
29
# File 'lib/bearcat/client/submissions.rb', line 27

def section_file_upload_submission(section, assignment, user, file_data, params={})
  file_upload_submission(section, assignment, user, file_data, params, type: :section)
end