Class: Tanker::PreverifiedOIDCVerification
- Inherits:
-
Verification
- Object
- Verification
- Tanker::PreverifiedOIDCVerification
- Defined in:
- lib/tanker/core/verification.rb
Instance Attribute Summary collapse
-
#provider_id ⇒ Object
readonly
Returns the value of attribute provider_id.
-
#subject ⇒ Object
readonly
Returns the value of attribute subject.
Instance Method Summary collapse
-
#initialize(subject, provider_id) ⇒ PreverifiedOIDCVerification
constructor
A new instance of PreverifiedOIDCVerification.
Constructor Details
#initialize(subject, provider_id) ⇒ PreverifiedOIDCVerification
Returns a new instance of PreverifiedOIDCVerification.
120 121 122 123 124 125 126 127 128 |
# File 'lib/tanker/core/verification.rb', line 120 def initialize(subject, provider_id) super() ASSERT_UTF8.call(provider_id) ASSERT_UTF8.call(subject) @provider_id = provider_id @subject = subject end |
Instance Attribute Details
#provider_id ⇒ Object (readonly)
Returns the value of attribute provider_id.
118 119 120 |
# File 'lib/tanker/core/verification.rb', line 118 def provider_id @provider_id end |
#subject ⇒ Object (readonly)
Returns the value of attribute subject.
118 119 120 |
# File 'lib/tanker/core/verification.rb', line 118 def subject @subject end |