Module: OpinionatedHTTP
- Defined in:
- lib/opinionated_http.rb,
lib/opinionated_http/client.rb,
lib/opinionated_http/logger.rb,
lib/opinionated_http/request.rb,
lib/opinionated_http/version.rb,
lib/opinionated_http/response.rb
Overview
Hack to make PersistentHTTP log to the standard logger and to make it and GenePool log trace info as trace.
Defined Under Namespace
Classes: Client, Logger, Request, Response
Constant Summary collapse
- VERSION =
"0.1.2".freeze
Class Method Summary collapse
-
.new(**args) ⇒ Object
Create a new Opinionated HTTP instance.
Class Method Details
.new(**args) ⇒ Object
Create a new Opinionated HTTP instance.
See README.md for more info.
17 18 19 |
# File 'lib/opinionated_http.rb', line 17 def self.new(**args) Client.new(**args) end |