Class: JWT::JWK::Thumbprint
- Inherits:
-
Object
- Object
- JWT::JWK::Thumbprint
- Defined in:
- lib/jwt/jwk/thumbprint.rb
Overview
Instance Attribute Summary collapse
-
#jwk ⇒ Object
readonly
Returns the value of attribute jwk.
Instance Method Summary collapse
- #generate ⇒ Object (also: #to_s)
-
#initialize(jwk) ⇒ Thumbprint
constructor
A new instance of Thumbprint.
Constructor Details
#initialize(jwk) ⇒ Thumbprint
Returns a new instance of Thumbprint.
9 10 11 |
# File 'lib/jwt/jwk/thumbprint.rb', line 9 def initialize(jwk) @jwk = jwk end |
Instance Attribute Details
#jwk ⇒ Object (readonly)
Returns the value of attribute jwk.
7 8 9 |
# File 'lib/jwt/jwk/thumbprint.rb', line 7 def jwk @jwk end |