Class: ProconBypassMan::RemoteMacroHttpClient

Inherits:
HttpClient
  • Object
show all
Defined in:
lib/procon_bypass_man/support/remote_macro_http_client.rb

Instance Method Summary collapse

Methods inherited from HttpClient

#get, #initialize, #put

Constructor Details

This class inherits a constructor from ProconBypassMan::HttpClient

Instance Method Details

#post(job_id:) ⇒ Object



3
4
5
6
7
# File 'lib/procon_bypass_man/support/remote_macro_http_client.rb', line 3

def post(job_id: )
  super(request_body: {
    job_id: job_id,
  })
end

#raise_if_failedObject



9
10
11
# File 'lib/procon_bypass_man/support/remote_macro_http_client.rb', line 9

def raise_if_failed
  true
end