module Logger::HTTP::Put
Public Class Methods
new(path, message)
click to toggle source
# File lib/logger-http/put.rb, line 4 def self.new path, message @path = path Net::HTTP::Put.new(@path).tap do |r| r.body = "#{message}" end end