Class: Identisure::Freja::BackchannelSignRequest
- Inherits:
-
Object
- Object
- Identisure::Freja::BackchannelSignRequest
- Defined in:
- lib/identisure/freja.rb
Instance Attribute Summary collapse
-
#callback_url ⇒ Object
readonly
Returns the value of attribute callback_url.
-
#country ⇒ Object
readonly
Returns the value of attribute country.
-
#min_registration_level ⇒ Object
readonly
Returns the value of attribute min_registration_level.
-
#org_number ⇒ Object
readonly
Returns the value of attribute org_number.
-
#ref_id ⇒ Object
readonly
Returns the value of attribute ref_id.
-
#request_address ⇒ Object
readonly
Returns the value of attribute request_address.
-
#ssn ⇒ Object
readonly
Returns the value of attribute ssn.
-
#text ⇒ Object
readonly
Returns the value of attribute text.
Instance Method Summary collapse
-
#initialize(ssn:, country:, text:, callback_url: nil, min_registration_level: nil, org_number: nil, request_address: nil, ref_id: nil) ⇒ BackchannelSignRequest
constructor
A new instance of BackchannelSignRequest.
- #to_h ⇒ Object
Constructor Details
#initialize(ssn:, country:, text:, callback_url: nil, min_registration_level: nil, org_number: nil, request_address: nil, ref_id: nil) ⇒ BackchannelSignRequest
Returns a new instance of BackchannelSignRequest.
69 70 71 72 73 74 |
# File 'lib/identisure/freja.rb', line 69 def initialize(ssn:, country:, text:, callback_url: nil, min_registration_level: nil, org_number: nil, request_address: nil, ref_id: nil) @ssn = ssn; @country = country; @text = text; @callback_url = callback_url @min_registration_level = min_registration_level; @org_number = org_number @request_address = request_address; @ref_id = ref_id end |
Instance Attribute Details
#callback_url ⇒ Object (readonly)
Returns the value of attribute callback_url.
66 67 68 |
# File 'lib/identisure/freja.rb', line 66 def callback_url @callback_url end |
#country ⇒ Object (readonly)
Returns the value of attribute country.
66 67 68 |
# File 'lib/identisure/freja.rb', line 66 def country @country end |
#min_registration_level ⇒ Object (readonly)
Returns the value of attribute min_registration_level.
66 67 68 |
# File 'lib/identisure/freja.rb', line 66 def min_registration_level @min_registration_level end |
#org_number ⇒ Object (readonly)
Returns the value of attribute org_number.
66 67 68 |
# File 'lib/identisure/freja.rb', line 66 def org_number @org_number end |
#ref_id ⇒ Object (readonly)
Returns the value of attribute ref_id.
66 67 68 |
# File 'lib/identisure/freja.rb', line 66 def ref_id @ref_id end |
#request_address ⇒ Object (readonly)
Returns the value of attribute request_address.
66 67 68 |
# File 'lib/identisure/freja.rb', line 66 def request_address @request_address end |
#ssn ⇒ Object (readonly)
Returns the value of attribute ssn.
66 67 68 |
# File 'lib/identisure/freja.rb', line 66 def ssn @ssn end |
#text ⇒ Object (readonly)
Returns the value of attribute text.
66 67 68 |
# File 'lib/identisure/freja.rb', line 66 def text @text end |
Instance Method Details
#to_h ⇒ Object
76 77 78 79 80 81 82 |
# File 'lib/identisure/freja.rb', line 76 def to_h { ssn: @ssn, country: @country, text: @text, callbackUrl: @callback_url, minRegistrationLevel: @min_registration_level, orgNumber: @org_number, requestAddress: @request_address, refId: @ref_id }.compact end |