Module: ReeHttp

Includes:
Ree::PackageDSL
Defined in:
lib/ree_lib/packages/ree_http/package/ree_http.rb,
lib/ree_lib/packages/ree_http/package/ree_http/constants.rb,
lib/ree_lib/packages/ree_http/package/ree_http/http_exceptions.rb

Defined Under Namespace

Modules: Constants, HttpExceptions Classes: BuildRequest, BuildRequestExecutor, ExecuteRequest, HttpDelete, HttpExec, HttpGet, HttpHead, HttpOptions, HttpPatch, HttpPost, HttpPut

Class Method Summary collapse

Class Method Details

.loggerObject



18
19
20
21
22
23
24
# File 'lib/ree_lib/packages/ree_http/package/ree_http.rb', line 18

def logger
  @logger ||= begin
    logger = Logger.new(STDOUT)
    logger.level = Logger::WARN
    logger
  end
end

.logger=(logger) ⇒ Object



26
27
28
# File 'lib/ree_lib/packages/ree_http/package/ree_http.rb', line 26

def logger=(logger)
  @logger = logger
end