Class: Identisure::BankIdNo::BackchannelAuthRequest
- Inherits:
-
Object
- Object
- Identisure::BankIdNo::BackchannelAuthRequest
- Defined in:
- lib/identisure/bank_id_no.rb
Instance Attribute Summary collapse
-
#callback_url ⇒ Object
readonly
Returns the value of attribute callback_url.
-
#ref_id ⇒ Object
readonly
Returns the value of attribute ref_id.
-
#ssn ⇒ Object
readonly
Returns the value of attribute ssn.
Instance Method Summary collapse
-
#initialize(ssn:, callback_url: nil, ref_id: nil) ⇒ BackchannelAuthRequest
constructor
A new instance of BackchannelAuthRequest.
- #to_h ⇒ Object
Constructor Details
#initialize(ssn:, callback_url: nil, ref_id: nil) ⇒ BackchannelAuthRequest
Returns a new instance of BackchannelAuthRequest.
31 32 33 |
# File 'lib/identisure/bank_id_no.rb', line 31 def initialize(ssn:, callback_url: nil, ref_id: nil) @ssn = ssn; @callback_url = callback_url; @ref_id = ref_id end |
Instance Attribute Details
#callback_url ⇒ Object (readonly)
Returns the value of attribute callback_url.
29 30 31 |
# File 'lib/identisure/bank_id_no.rb', line 29 def callback_url @callback_url end |
#ref_id ⇒ Object (readonly)
Returns the value of attribute ref_id.
29 30 31 |
# File 'lib/identisure/bank_id_no.rb', line 29 def ref_id @ref_id end |
#ssn ⇒ Object (readonly)
Returns the value of attribute ssn.
29 30 31 |
# File 'lib/identisure/bank_id_no.rb', line 29 def ssn @ssn end |
Instance Method Details
#to_h ⇒ Object
35 36 37 |
# File 'lib/identisure/bank_id_no.rb', line 35 def to_h { ssn: @ssn, callbackUrl: @callback_url, refId: @ref_id }.compact end |