Class: JWT::DecodeResponse

Inherits:
Object
  • Object
show all
Defined in:
lib/ruby_jwt.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#headerObject

Returns the value of attribute header.



10
11
12
# File 'lib/ruby_jwt.rb', line 10

def header
  @header
end

#payloadObject

Returns the value of attribute payload.



10
11
12
# File 'lib/ruby_jwt.rb', line 10

def payload
  @payload
end

#signatureObject

Returns the value of attribute signature.



10
11
12
# File 'lib/ruby_jwt.rb', line 10

def signature
  @signature
end