Class: JWT::DecodeResponse
- Inherits:
-
Object
- Object
- JWT::DecodeResponse
- Defined in:
- lib/ruby_jwt.rb
Instance Attribute Summary collapse
-
#header ⇒ Object
Returns the value of attribute header.
-
#payload ⇒ Object
Returns the value of attribute payload.
-
#signature ⇒ Object
Returns the value of attribute signature.
Instance Method Summary collapse
-
#initialize(header, payload, signature) ⇒ DecodeResponse
constructor
A new instance of DecodeResponse.
Constructor Details
#initialize(header, payload, signature) ⇒ DecodeResponse
Returns a new instance of DecodeResponse.
11 12 13 14 15 |
# File 'lib/ruby_jwt.rb', line 11 def initialize(header,payload,signature) @header = header @payload = payload @signature = signature end |
Instance Attribute Details
#header ⇒ Object
Returns the value of attribute header.
10 11 12 |
# File 'lib/ruby_jwt.rb', line 10 def header @header end |
#payload ⇒ Object
Returns the value of attribute payload.
10 11 12 |
# File 'lib/ruby_jwt.rb', line 10 def payload @payload end |
#signature ⇒ Object
Returns the value of attribute signature.
10 11 12 |
# File 'lib/ruby_jwt.rb', line 10 def signature @signature end |