Class: LicenseKit::VerificationResult
- Inherits:
-
Object
- Object
- LicenseKit::VerificationResult
- Defined in:
- lib/licensekit/verification.rb
Instance Attribute Summary collapse
-
#key ⇒ Object
readonly
Returns the value of attribute key.
Instance Method Summary collapse
-
#initialize(ok:, key:) ⇒ VerificationResult
constructor
A new instance of VerificationResult.
- #ok ⇒ Object
Constructor Details
#initialize(ok:, key:) ⇒ VerificationResult
Returns a new instance of VerificationResult.
9 10 11 12 |
# File 'lib/licensekit/verification.rb', line 9 def initialize(ok:, key:) @ok = ok @key = key end |
Instance Attribute Details
#key ⇒ Object (readonly)
Returns the value of attribute key.
7 8 9 |
# File 'lib/licensekit/verification.rb', line 7 def key @key end |
Instance Method Details
#ok ⇒ Object
14 15 16 |
# File 'lib/licensekit/verification.rb', line 14 def ok @ok end |