Class: Riddl::Utils::Description::RDR
- Inherits:
-
Implementation
- Object
- Implementation
- Riddl::Utils::Description::RDR
- 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
#response ⇒ Object
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 |