module Shaf::Spec::HttpUtils

Public Instance Methods

headers() click to toggle source
# File lib/shaf/spec/http_method_utils.rb, line 28
def headers
  last_response&.headers || {}
end
status() click to toggle source
# File lib/shaf/spec/http_method_utils.rb, line 24
def status
  last_response&.status
end