global

def headers=(hash)

Parameters:
  • hash (Hash) -- new headers
def headers=(hash)
  if headers
    headers.replace hash
  else
    member_set(:headers, hash)
  end
end