Class: DefraRuby::Area::BaseAreaService
- Inherits:
-
Object
- Object
- DefraRuby::Area::BaseAreaService
- Defined in:
- lib/defra_ruby/area/services/base_area_service.rb
Direct Known Subclasses
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(easting, northing) ⇒ BaseAreaService
constructor
A new instance of BaseAreaService.
- #run ⇒ Object
Constructor Details
#initialize(easting, northing) ⇒ BaseAreaService
Returns a new instance of 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 |