Class: Identisure::BankIdSe::PhoneSignRequest
- Inherits:
-
Object
- Object
- Identisure::BankIdSe::PhoneSignRequest
- Defined in:
- lib/identisure/bank_id_se.rb
Instance Attribute Summary collapse
-
#call_initiator ⇒ Object
readonly
Returns the value of attribute call_initiator.
-
#callback_url ⇒ Object
readonly
Returns the value of attribute callback_url.
-
#digest ⇒ Object
readonly
Returns the value of attribute digest.
-
#org_number ⇒ Object
readonly
Returns the value of attribute org_number.
-
#pin_required ⇒ Object
readonly
Returns the value of attribute pin_required.
-
#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:, call_initiator:, text:, callback_url: nil, pin_required: nil, digest: nil, org_number: nil, request_address: nil, ref_id: nil) ⇒ PhoneSignRequest
constructor
A new instance of PhoneSignRequest.
- #to_h ⇒ Object
Constructor Details
#initialize(ssn:, call_initiator:, text:, callback_url: nil, pin_required: nil, digest: nil, org_number: nil, request_address: nil, ref_id: nil) ⇒ PhoneSignRequest
Returns a new instance of PhoneSignRequest.
81 82 83 84 85 86 |
# File 'lib/identisure/bank_id_se.rb', line 81 def initialize(ssn:, call_initiator:, text:, callback_url: nil, pin_required: nil, digest: nil, org_number: nil, request_address: nil, ref_id: nil) @ssn = ssn; @call_initiator = call_initiator; @text = text @callback_url = callback_url; @pin_required = pin_required; @digest = digest @org_number = org_number; @request_address = request_address; @ref_id = ref_id end |
Instance Attribute Details
#call_initiator ⇒ Object (readonly)
Returns the value of attribute call_initiator.
78 79 80 |
# File 'lib/identisure/bank_id_se.rb', line 78 def call_initiator @call_initiator end |
#callback_url ⇒ Object (readonly)
Returns the value of attribute callback_url.
78 79 80 |
# File 'lib/identisure/bank_id_se.rb', line 78 def callback_url @callback_url end |
#digest ⇒ Object (readonly)
Returns the value of attribute digest.
78 79 80 |
# File 'lib/identisure/bank_id_se.rb', line 78 def digest @digest end |
#org_number ⇒ Object (readonly)
Returns the value of attribute org_number.
78 79 80 |
# File 'lib/identisure/bank_id_se.rb', line 78 def org_number @org_number end |
#pin_required ⇒ Object (readonly)
Returns the value of attribute pin_required.
78 79 80 |
# File 'lib/identisure/bank_id_se.rb', line 78 def pin_required @pin_required end |
#ref_id ⇒ Object (readonly)
Returns the value of attribute ref_id.
78 79 80 |
# File 'lib/identisure/bank_id_se.rb', line 78 def ref_id @ref_id end |
#request_address ⇒ Object (readonly)
Returns the value of attribute request_address.
78 79 80 |
# File 'lib/identisure/bank_id_se.rb', line 78 def request_address @request_address end |
#ssn ⇒ Object (readonly)
Returns the value of attribute ssn.
78 79 80 |
# File 'lib/identisure/bank_id_se.rb', line 78 def ssn @ssn end |
#text ⇒ Object (readonly)
Returns the value of attribute text.
78 79 80 |
# File 'lib/identisure/bank_id_se.rb', line 78 def text @text end |
Instance Method Details
#to_h ⇒ Object
88 89 90 91 92 93 94 |
# File 'lib/identisure/bank_id_se.rb', line 88 def to_h { ssn: @ssn, callInitiator: @call_initiator, text: @text, callbackUrl: @callback_url, pinRequired: @pin_required, digest: @digest, orgNumber: @org_number, requestAddress: @request_address, refId: @ref_id }.compact end |