Sha256: c742efbecb797cd5a987ff2615d6914a3b19f92d92811b5716eb464a2e433ef9

Contents?: true

Size: 176 Bytes

Versions: 39

Compression:

Stored size: 176 Bytes

Contents

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

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
mumuki-laboratory-5.13.0 app/models/concerns/submittable/questionable.rb
mumuki-laboratory-5.12.1 app/models/concerns/submittable/questionable.rb
mumuki-laboratory-5.12.0 app/models/concerns/submittable/questionable.rb
mumuki-laboratory-5.11.0 app/models/concerns/submittable/questionable.rb
mumuki-laboratory-5.10.4 app/models/concerns/submittable/questionable.rb
mumuki-laboratory-5.10.3 app/models/concerns/submittable/questionable.rb
mumuki-laboratory-5.10.2 app/models/concerns/submittable/questionable.rb
mumuki-laboratory-5.10.1 app/models/concerns/submittable/questionable.rb
mumuki-laboratory-5.10.0 app/models/concerns/submittable/questionable.rb
mumuki-laboratory-5.9.1 app/models/concerns/submittable/questionable.rb
mumuki-laboratory-5.9.0 app/models/concerns/submittable/questionable.rb
mumuki-laboratory-5.8.3 app/models/concerns/submittable/questionable.rb
mumuki-laboratory-5.8.1 app/models/concerns/submittable/questionable.rb
mumuki-laboratory-5.8.0 app/models/concerns/submittable/questionable.rb
mumuki-laboratory-5.7.0 app/models/concerns/submittable/questionable.rb
mumuki-laboratory-5.6.3 app/models/concerns/submittable/questionable.rb
mumuki-laboratory-5.6.2 app/models/concerns/submittable/questionable.rb
mumuki-laboratory-5.6.1 app/models/concerns/submittable/questionable.rb
mumuki-laboratory-5.6.0 app/models/concerns/submittable/questionable.rb
mumuki-laboratory-5.5.0 app/models/concerns/submittable/questionable.rb