Module: HttpClient
Constant Summary collapse
- VERBS =
%w(get post put patch delete)
Instance Method Summary collapse
Instance Method Details
#merge_default_headers(headers) ⇒ Object
13 14 15 |
# File 'lib/neo/http_client.rb', line 13 def merge_default_headers(headers) { 'Content-Type' => 'application/json', 'Accept' => 'application/json' }.merge(headers || {}) end |