Class: JWT::TrueLayerEncode

Inherits:
Encode
  • Object
show all
Defined in:
lib/truelayer-signing/jwt.rb

Instance Method Summary collapse

Constructor Details

#initialize(options) ⇒ TrueLayerEncode



18
19
20
21
22
23
24
# File 'lib/truelayer-signing/jwt.rb', line 18

def initialize(options)
  super

  @token     = TrueLayerToken.new(payload: options[:payload], header: options[:headers])
  @key       = options[:key]
  @algorithm = options[:algorithm]
end