Class: Riddl::Utils::Properties::All

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

Overview

Just reading

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

{{{



143
144
145
146
147
148
# File 'lib/ruby/riddl/utils/properties.rb', line 143

def response
  backend = @a[0]
  handler = @a[1]
  EM.defer{handler.read} unless handler.nil?
  return Riddl::Parameter::Complex.new("document","text/xml",backend.data.to_s)
end