Module: Justimmo

Defined in:
lib/justimmo.rb,
lib/justimmo/api.rb,
lib/justimmo/config.rb,
lib/justimmo/errors.rb,
lib/justimmo/logger.rb,
lib/justimmo/parser.rb,
lib/justimmo/realty.rb,
lib/justimmo/version.rb,
lib/justimmo/employee.rb

Overview

The Justimmo API.

Defined Under Namespace

Modules: API, Parser Classes: Config, Employee, Logger, Realty

Constant Summary collapse

JustimmoError =
Class.new(StandardError)
VERSION =
'0.3.0'

Class Method Summary collapse

Class Method Details

.configure(&block) ⇒ Object

Convenience method that sets configuration and initializes the logger.


17
18
19
20
# File 'lib/justimmo.rb', line 17

def self.configure(&block)
  Justimmo::Config.configure(&block)
  Justimmo::Logger.configure(Justimmo::Config)
end