Module: Rubycent
- Extended by:
- Forwardable
- Defined in:
- lib/rubycent.rb,
lib/rubycent/error.rb,
lib/rubycent/query.rb,
lib/rubycent/client.rb,
lib/rubycent/request.rb,
lib/rubycent/version.rb,
lib/rubycent/errors/network_error.rb,
lib/rubycent/errors/request_error.rb,
lib/rubycent/errors/response_error.rb
Overview
Rubycent
Entry point and configuration definition
Defined Under Namespace
Classes: Client, Error, NetworkError, Query, Request, RequestError, ResponseError
Constant Summary collapse
- VERSION =
'0.1.1'
Class Attribute Summary collapse
Class Method Summary collapse
Class Attribute Details
.logger ⇒ Object
38 39 40 41 42 |
# File 'lib/rubycent.rb', line 38 def logger @logger ||= begin Logger.new($stdout).tap { |log| log.level = Logger::INFO } end end |
.request_adapter ⇒ Object
44 45 46 |
# File 'lib/rubycent.rb', line 44 def request_adapter @request_adapter ||= Faraday.default_adapter end |