Class: Net::HTTP::Put
- Inherits:
-
Object
- Object
- Net::HTTP::Put
- Defined in:
- lib/Net/HTTP/Put/set_headers.rb
Overview
20250716 0.0.0
Instance Method Summary collapse
- #set_headers(headers = {}) ⇒ Object (also: #headers=)
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 |