Class: Sinatra::Jwt::JwkLoader::EnvString
- Defined in:
- lib/sinatra/jwt/jwk_loader.rb
Instance Attribute Summary
Attributes inherited from String
Instance Method Summary collapse
-
#initialize(name = nil) ⇒ EnvString
constructor
A new instance of EnvString.
Methods inherited from String
Methods inherited from Loader
Constructor Details
#initialize(name = nil) ⇒ EnvString
Returns a new instance of EnvString.
52 53 54 |
# File 'lib/sinatra/jwt/jwk_loader.rb', line 52 def initialize(name = nil) super(ENV.fetch(name, nil)) end |