Class: Sinatra::Jwt::JwkLoader::EnvString

Inherits:
String show all
Defined in:
lib/sinatra/jwt/jwk_loader.rb

Instance Attribute Summary

Attributes inherited from String

#content

Instance Method Summary collapse

Methods inherited from String

#load

Methods inherited from Loader

#call, #load

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