Sha256: 6a5a225135f47064c503474d657f81cb335b4627d5946a4d1fc3603ed7fd9f6d
Contents?: true
Size: 365 Bytes
Versions: 2
Compression:
Stored size: 365 Bytes
Contents
module Restfulie::Client::Feature class EnhanceResponse def execute(flow, request, response, env) resp = flow.continue(request, response, env) unless resp.kind_of? ::Restfulie::Client::HTTP::ResponseHolder resp.extend(::Restfulie::Client::HTTP::ResponseHolder) resp.results_from request, resp end resp end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
restfulie-1.0.0.beta1 | lib/restfulie/client/feature/enhance_response.rb |
restfulie-0.1.0.beta1 | lib/restfulie/client/feature/enhance_response.rb |