Module: Qcourses::Helpers

Defined in:
lib/qcourses/web_app.rb

Instance Method Summary collapse

Instance Method Details

#qcourses_get(url) ⇒ Object



23
24
25
# File 'lib/qcourses/web_app.rb', line 23

def qcourses_get(url)
  Qcourses::WebApp.call(env.merge("PATH_INFO" => url)).last.join
end