Class: Riddl::Utils::Properties::GetContent
- Inherits:
-
Implementation
- Object
- Implementation
- Riddl::Utils::Properties::GetContent
- Defined in:
- lib/ruby/riddl/utils/properties.rb
Overview
}}}
Instance Method Summary collapse
-
#response ⇒ Object
{{{.
Methods inherited from Implementation
#headers, #initialize, #status
Constructor Details
This class inherits a constructor from Riddl::Implementation
Instance Method Details
#response ⇒ Object
{{{
207 208 209 210 211 212 213 214 215 216 217 218 |
# File 'lib/ruby/riddl/utils/properties.rb', line 207 def response backend = @a[0] handler = @a[1] EM.defer{handler.property(@r[1]).read} unless handler.nil? if ret = extract_values(backend,@r[1],Riddl::Protocols::Utils::unescape(@r[2..-1].join('/'))) ret else @status = 404 end end |