Sha256: ab08fa14fb58156af606a5975987db6bb2c47a9a22ef6044afcd70a423d033a4

Contents?: true

Size: 204 Bytes

Versions: 121

Compression:

Stored size: 204 Bytes

Contents

module Questionable
  def submit_question!(user, question)
    assignment, _ = find_assignment_and_submit! user, Mumuki::Domain::Submission::Question.new
    assignment.send_question!(question)
  end
end

Version data entries

121 entries across 121 versions & 2 rubygems

Version Path
mumuki-domain-8.3.1 app/models/concerns/submittable/questionable.rb
mumuki-domain-8.2.0 app/models/concerns/submittable/questionable.rb
mumuki-domain-8.1.3 app/models/concerns/submittable/questionable.rb
mumuki-domain-8.1.2 app/models/concerns/submittable/questionable.rb
mumuki-domain-8.1.1 app/models/concerns/submittable/questionable.rb
mumuki-domain-8.1.0 app/models/concerns/submittable/questionable.rb
mumuki-domain-8.0.0 app/models/concerns/submittable/questionable.rb
mumuki-domain-7.12.2 app/models/concerns/submittable/questionable.rb
mumuki-domain-7.12.1 app/models/concerns/submittable/questionable.rb
mumuki-domain-7.12.0 app/models/concerns/submittable/questionable.rb
mumuki-domain-7.11.1 app/models/concerns/submittable/questionable.rb
mumuki-laboratory-7.11.1 vendor/bundle/ruby/2.6.0/bundler/gems/mumuki-domain-c92f2a7212e2/app/models/concerns/submittable/questionable.rb
mumuki-laboratory-7.11.0 vendor/bundle/ruby/2.6.0/bundler/gems/mumuki-domain-2e15c3330133/app/models/concerns/submittable/questionable.rb
mumuki-domain-7.11.0 app/models/concerns/submittable/questionable.rb
mumuki-domain-7.10.1 app/models/concerns/submittable/questionable.rb
mumuki-domain-7.10.0 app/models/concerns/submittable/questionable.rb
mumuki-laboratory-7.9.2 vendor/bundle/ruby/2.6.0/bundler/gems/mumuki-domain-7082a83493eb/app/models/concerns/submittable/questionable.rb
mumuki-domain-7.9.2 app/models/concerns/submittable/questionable.rb
mumuki-laboratory-7.9.1 vendor/bundle/ruby/2.6.0/bundler/gems/mumuki-domain-b162dc91aa77/app/models/concerns/submittable/questionable.rb
mumuki-domain-7.9.1 app/models/concerns/submittable/questionable.rb