Class: Sinatra::Jwt::JwkLoader::EnvFile

Inherits:
File
  • Object
show all
Defined in:
lib/sinatra/jwt/jwk_loader.rb

Instance Attribute Summary

Attributes inherited from File

#path

Instance Method Summary collapse

Methods inherited from File

#load

Methods inherited from Loader

#call, #load

Constructor Details

#initialize(name = nil) ⇒ EnvFile

Returns a new instance of EnvFile.



58
59
60
# File 'lib/sinatra/jwt/jwk_loader.rb', line 58

def initialize(name = nil)
  super(ENV.fetch(name, nil))
end