Class: Riddl::Utils::DocOverlay

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



7
8
9
10
# File 'lib/ruby/riddl/utils/docoverlay.rb', line 7

def response
  rval = ERB.new(File.read(File.dirname(__FILE__) + '/docoverlay.html'), 0, "%<>")
  Riddl::Parameter::Complex.new('documentationresponse','text/html',rval.result(binding))
end