Class: SoarSmaak::Interpreter
- Inherits:
-
Object
- Object
- SoarSmaak::Interpreter
- Defined in:
- lib/soar_smaak/interpreter.rb
Class Method Summary collapse
Class Method Details
.smaak_request?(request) ⇒ Boolean
5 6 7 8 |
# File 'lib/soar_smaak/interpreter.rb', line 5 def self.smaak_request?(request) auth_header = ::Smaak::RackAdaptor.new(request).header("authorization") (not (auth_header.nil?)) and (auth_header.include?("x-smaak")) end |