Class: DefraRuby::Area::BaseAreaService
- Inherits:
-
Object
- Object
- DefraRuby::Area::BaseAreaService
show all
- Defined in:
- lib/defra_ruby/area/services/base_area_service.rb
Class Method Summary
collapse
Instance Method Summary
collapse
Constructor Details
#initialize(easting, northing) ⇒ BaseAreaService
13
14
15
16
|
# File 'lib/defra_ruby/area/services/base_area_service.rb', line 13
def initialize(easting, northing)
@easting = easting
@northing = northing
end
|
Class Method Details
.run(easting, northing) ⇒ Object
9
10
11
|
# File 'lib/defra_ruby/area/services/base_area_service.rb', line 9
def self.run(easting, northing)
new(easting, northing).run
end
|
Instance Method Details
#run ⇒ Object
18
19
20
|
# File 'lib/defra_ruby/area/services/base_area_service.rb', line 18
def run
Response.new(response_exe)
end
|