Class: Bankid::Authentication
- Inherits:
-
Object
- Object
- Bankid::Authentication
- Defined in:
- lib/bankid/authentication.rb
Constant Summary collapse
- ATTRS =
%i[order_ref auto_start_token qr_start_token qr_start_secret].freeze
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(order_ref:, auto_start_token:, qr_start_token:, qr_start_secret:) ⇒ Authentication
constructor
A new instance of Authentication.
- #to_h ⇒ Object
Constructor Details
#initialize(order_ref:, auto_start_token:, qr_start_token:, qr_start_secret:) ⇒ Authentication
Returns a new instance of Authentication.
8 9 10 11 12 13 |
# File 'lib/bankid/authentication.rb', line 8 def initialize(order_ref:, auto_start_token:, qr_start_token:, qr_start_secret:) @order_ref = order_ref @auto_start_token = auto_start_token @qr_start_token = qr_start_token @qr_start_secret = qr_start_secret end |