Module: ICIMS
- Defined in:
- lib/icims.rb,
lib/icims/job.rb,
lib/icims/get_request.rb,
lib/icims/requestable.rb,
lib/icims/search_request.rb
Defined Under Namespace
Modules: Requestable
Classes: GetRequest, Job, SearchRequest
Class Method Summary
collapse
Class Method Details
.logger ⇒ Object
23
24
25
26
27
28
|
# File 'lib/icims.rb', line 23
def self.logger
@logger ||= begin
log_file = defined?(Rails) ? [Rails.root, 'log', 'icims.log'].join('/') : 'icims.log'
Logger.new(log_file)
end
end
|
.setup {|_self| ... } ⇒ Object
19
20
21
|
# File 'lib/icims.rb', line 19
def self.setup
yield self
end
|