Class: Regio::Routing

Inherits:
Core
  • Object
show all
Defined in:
lib/regio/routing.rb

Constant Summary

Constants inherited from Core

Core::COMPONENTS

Instance Attribute Summary

Attributes inherited from Core

#options

Instance Method Summary collapse

Methods inherited from Core

#initialize, #run

Constructor Details

This class inherits a constructor from Regio::Core

Instance Method Details

#resultsObject



5
6
7
8
9
# File 'lib/regio/routing.rb', line 5

def results
  response.tap do |response|
    raise Unprocessable, response[:message] if response[:message]
  end
end