lib/soaspec/exchange.rb in soaspec-0.1.4 vs lib/soaspec/exchange.rb in soaspec-0.1.5
- old
+ new
@@ -146,9 +146,10 @@
# Returns response object from Api. Will make the request if not made and then cache it for later on
# For example for SOAP it will be a Savon response
# response.body (body of response as Hash)
# response.header (head of response as Hash)
def response
+ Soaspec.last_exchange = self
@response ||= make_request
end
alias call response
\ No newline at end of file