Class: Net::HTTP::Put

Inherits:
Object
  • Object
show all
Defined in:
lib/Net/HTTP/Put/set_headers.rb

Overview

20250716 0.0.0

Instance Method Summary collapse

Instance Method Details

#set_headers(headers = {}) ⇒ Object Also known as: headers=



9
10
11
# File 'lib/Net/HTTP/Put/set_headers.rb', line 9

def set_headers(headers = {})
  headers.each{|k,v| self[k] = v}
end