Class: Riddl::Utils::Turtle::Query

Inherits:
Implementation show all
Defined in:
lib/ruby/riddl/utils/turtle.rb

Overview

{{{

Instance Method Summary collapse

Methods inherited from Implementation

#headers, #initialize, #status

Constructor Details

This class inherits a constructor from Riddl::Implementation

Instance Method Details

#responseObject

{{{



40
41
42
# File 'lib/ruby/riddl/utils/turtle.rb', line 40

def response #{{{
  Riddl::Parameter::Complex.new "list","application/json", JSON::pretty_generate(RDF::Smart.new(@a[0]).execute(@p[0].value))
end