Class: Riddl::Utils::Turtle::Query
- Inherits:
-
Implementation
- Object
- Implementation
- Riddl::Utils::Turtle::Query
- Defined in:
- lib/ruby/riddl/utils/turtle.rb
Overview
{{{
Instance Method Summary collapse
-
#response ⇒ Object
{{{.
Methods inherited from Implementation
#headers, #initialize, #status
Constructor Details
This class inherits a constructor from Riddl::Implementation
Instance Method Details
#response ⇒ Object
{{{
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 |