Class: Qravan::Spec
- Inherits:
-
Object
- Object
- Qravan::Spec
- Defined in:
- lib/qravan/version.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
Instance Method Details
#call(env) ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/qravan/version.rb', line 9 def call(env) body = [Qravan::Spec.collect_spec.to_json] status = 200 headers = { "content-type" => "application/json" } [status, headers, body] end |