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-9.23.0 app/models/concerns/submittable/questionable.rb
mumuki-domain-9.22.1 app/models/concerns/submittable/questionable.rb
mumuki-domain-9.22.0 app/models/concerns/submittable/questionable.rb
mumuki-domain-9.21.0 app/models/concerns/submittable/questionable.rb
mumuki-domain-9.20.0 app/models/concerns/submittable/questionable.rb
mumuki-domain-9.19.0 app/models/concerns/submittable/questionable.rb
mumuki-domain-9.18.0 app/models/concerns/submittable/questionable.rb
mumuki-domain-9.17.0 app/models/concerns/submittable/questionable.rb
mumuki-domain-9.16.0 app/models/concerns/submittable/questionable.rb
mumuki-domain-9.15.0 app/models/concerns/submittable/questionable.rb
mumuki-domain-9.14.1 app/models/concerns/submittable/questionable.rb
mumuki-domain-9.14.0 app/models/concerns/submittable/questionable.rb
mumuki-domain-9.13.1 app/models/concerns/submittable/questionable.rb
mumuki-domain-9.13.0 app/models/concerns/submittable/questionable.rb
mumuki-domain-9.12.0 app/models/concerns/submittable/questionable.rb
mumuki-domain-9.11.0 app/models/concerns/submittable/questionable.rb
mumuki-domain-9.10.0 app/models/concerns/submittable/questionable.rb
mumuki-domain-9.9.0 app/models/concerns/submittable/questionable.rb
mumuki-domain-9.8.1 app/models/concerns/submittable/questionable.rb
mumuki-domain-9.8.0 app/models/concerns/submittable/questionable.rb