Module: SwisstopoReframe

Defined in:
lib/swisstopo_reframe.rb,
lib/swisstopo_reframe/version.rb

Defined Under Namespace

Classes: Reframe

Constant Summary collapse

VERSION =
"1.0.0"

Class Method Summary collapse

Class Method Details

.newObject



85
86
87
# File 'lib/swisstopo_reframe.rb', line 85

def self.new
  Reframe.new
end

.reframe(&block) ⇒ Object



89
90
91
92
93
94
# File 'lib/swisstopo_reframe.rb', line 89

def self.reframe(&block)
  reframe = Reframe.new
  reframe.instance_eval &block
  request = reframe.request
  handle(request)
end