Class: Riddl::Utils::Properties::Schema

Inherits:
Implementation show all
Defined in:
lib/ruby/riddl/utils/properties.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

{{{



200
201
202
203
# File 'lib/ruby/riddl/utils/properties.rb', line 200

def response
  backend = @a[0]
  return Riddl::Parameter::Complex.new("document-schema","text/xml",backend.schema.to_s)
end