Sha256: 22b942febcae3ff7fb3cac473fb37061e918fc46317d467ec562dc9b1c53d84a
Contents?: true
Size: 322 Bytes
Versions: 20
Compression:
Stored size: 322 Bytes
Contents
require 'sidekiq' module WatCatcher class SidekiqPoster include Sidekiq::Worker def perform(url, params) HTTPClient.post_content(url, body: params["wat"].to_json, header: {"Content-Type" => "application/json; charset=utf-8"}) end end end
Version data entries
20 entries across 20 versions & 1 rubygems