Class: Shaf::Authenticator::Request
- Inherits:
-
Rack::Auth::AbstractRequest
- Object
- Rack::Auth::AbstractRequest
- Shaf::Authenticator::Request
- Defined in:
- lib/shaf/authenticator/request.rb
Instance Attribute Summary collapse
-
#env ⇒ Object
readonly
Returns the value of attribute env.
Instance Method Summary collapse
Instance Attribute Details
#env ⇒ Object (readonly)
Returns the value of attribute env.
6 7 8 |
# File 'lib/shaf/authenticator/request.rb', line 6 def env @env end |
Instance Method Details
#authorization ⇒ Object
12 13 14 |
# File 'lib/shaf/authenticator/request.rb', line 12 def env[] end |
#valid? ⇒ Boolean
8 9 10 |
# File 'lib/shaf/authenticator/request.rb', line 8 def valid? !String().strip.empty? end |