Module: DefraRuby::Area

Defined in:
lib/defra_ruby/area.rb,
lib/defra_ruby/area/area.rb,
lib/defra_ruby/area/version.rb,
lib/defra_ruby/area/response.rb,
lib/defra_ruby/area/configuration.rb,
lib/defra_ruby/area/no_match_error.rb,
lib/defra_ruby/area/services/base_area_service.rb,
lib/defra_ruby/area/services/public_face_area_service.rb,
lib/defra_ruby/area/services/water_management_area_service.rb

Defined Under Namespace

Classes: Area, BaseAreaService, Configuration, NoMatchError, PublicFaceAreaService, Response, WaterManagementAreaService

Constant Summary collapse

VERSION =
"2.2.0"

Class Method Summary collapse

Class Method Details

.configurationObject



21
22
23
24
# File 'lib/defra_ruby/area.rb', line 21

def configuration
  @configuration ||= Configuration.new
  @configuration
end

.configure {|configuration| ... } ⇒ Object

attr_accessor :configuration

Yields:



17
18
19
# File 'lib/defra_ruby/area.rb', line 17

def configure
  yield(configuration)
end