mumuki/mumuki-domain

View on GitHub
app/models/concerns/submittable/queriable.rb

Summary

Maintainability
A
0 mins
Test Coverage
module Queriable
  def submit_query!(user, attributes)
    submit! user, Mumuki::Domain::Submission::Query.new(attributes)
  end

  def run_query!(params)
    language.run_query!(params)
  end
end