Class: Riddl::Utils::Description::RDR

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

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



8
9
10
11
# File 'lib/ruby/riddl/utils/description.rb', line 8

def response
  @headers << Riddl::Header.new("RIDDL_DESCRIPTION", 'oh my, a riddl description')
  return Riddl::Parameter::Complex.new("riddl-description","text/xml",@a[0])
end