Method: Esearch::Connection.build
- Defined in:
- lib/esearch/connection.rb
.build(uri, logger = NullLogger.instance) ⇒ Connection
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Return connection
16 17 18 |
# File 'lib/esearch/connection.rb', line 16 def self.build(uri, logger = NullLogger.instance) new(Faraday.new(uri), logger) end |