Sha256: 4852dac85fc4dc944731885b2e4361826c77b022c581b01a16620ad2c76c0fc6
Contents?: true
Size: 462 Bytes
Versions: 2
Compression:
Stored size: 462 Bytes
Contents
class ProconBypassMan::ReportPressedButtonsJob extend ProconBypassMan::Background::HasServerPool extend ProconBypassMan::Background::JobRunnable PATH = "/api/pressed_buttons" # @param [String] body def self.perform(body) ProconBypassMan::Background::HttpClient.new( path: PATH, pool_server: pool_server, ).post(body: body, event_type: :internal) end def self.servers ProconBypassMan.config.internal_api_servers end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
procon_bypass_man-0.1.13 | lib/procon_bypass_man/background/jobs/report_pressed_buttons_job.rb |
procon_bypass_man-0.1.12 | lib/procon_bypass_man/background/jobs/report_pressed_buttons_job.rb |