Module: Polyseerio::Middleware::Post
- Defined in:
- lib/middleware.rb
Overview
Post request middleware.
Class Method Summary collapse
-
.parse_response ⇒ Object
Request results run through there.
-
.to_response ⇒ Object
Takes rest-client and response and converts it to internal response.
Class Method Details
.parse_response ⇒ Object
Request results run through there.
35 36 37 38 39 |
# File 'lib/middleware.rb', line 35 def self.parse_response proc do |response| Resource::Helper.parse_response(response, 0) # TODO: need a cid end end |