Class: LicenseKit::VerificationResult

Inherits:
Object
  • Object
show all
Defined in:
lib/licensekit/verification.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#keyObject (readonly)

Returns the value of attribute key.



7
8
9
# File 'lib/licensekit/verification.rb', line 7

def key
  @key
end

Instance Method Details

#okObject



14
15
16
# File 'lib/licensekit/verification.rb', line 14

def ok
  @ok
end