Class: Hypernova::HttpClientRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/hypernova/http_client_request.rb

Class Method Summary collapse

Class Method Details

.post(payload) ⇒ Object



4
5
6
7
8
9
10
# File 'lib/hypernova/http_client_request.rb', line 4

def self.post(payload)
  if is_client_requiring_1_argument?
    client.post(Hypernova::BatchUrlBuilder.path, payload)
  else
    client.post(payload)
  end
end