Module: WebClient
- Defined in:
- lib/web_client.rb,
lib/web_client/error.rb,
lib/web_client/request.rb,
lib/web_client/version.rb,
lib/web_client/response.rb,
lib/web_client/connection.rb
Defined Under Namespace
Classes: Connection, ConnectionFail, Error, Request, Response
Constant Summary
collapse
- VERSION =
'0.0.6'
Class Method Summary
collapse
Class Method Details
.logger ⇒ Object
13
14
15
|
# File 'lib/web_client.rb', line 13
def self.logger
@@logger ||= defined?(Rails) ? Rails.logger : Logger.new($stdout)
end
|
.logger=(logger) ⇒ Object
17
18
19
|
# File 'lib/web_client.rb', line 17
def self.logger=(logger)
@@logger = logger
end
|