Module: Logger::HTTP::Put
- Defined in:
- lib/logger-http/put.rb
Class Method Summary collapse
Class Method Details
.new(path, message) ⇒ Object
4 5 6 7 8 9 |
# File 'lib/logger-http/put.rb', line 4 def self.new path, @path = path Net::HTTP::Put.new(@path).tap do |r| r.body = "#{}" end end |