Class: Callapi::Call::Request::Http
Direct Known Subclasses
Defined Under Namespace
Modules: LogHelper
Constant Summary collapse
- HTTP_METHOD_TO_REQUEST_CLASS =
{ get: Net::HTTP::Get, post: Net::HTTP::Post, put: Net::HTTP::Put, delete: Net::HTTP::Delete, patch: Net::HTTP::Patch }
Instance Method Summary collapse
Methods included from LogHelper
Methods inherited from Base
Constructor Details
This class inherits a constructor from Callapi::Call::Request::Base
Instance Method Details
#response ⇒ Object
19 20 21 22 23 |
# File 'lib/callapi/call/request/http.rb', line 19 def response with_logging do http.request(request) end end |