module SerialSpec::RequestResponse::Helpers

Public Instance Methods

body() click to toggle source
# File lib/serial_spec/request_response/helpers.rb, line 21
def body
  @body ||= begin
    ParsedBody.new(response.body)
  end
end
headers() click to toggle source
# File lib/serial_spec/request_response/helpers.rb, line 13
def headers
  response.headers
end
response() click to toggle source
# File lib/serial_spec/request_response/helpers.rb, line 17
def response
  last_response
end
status() click to toggle source
# File lib/serial_spec/request_response/helpers.rb, line 9
def status
  response.status
end