Class: VSafe::CvnResult

Inherits:
Object
  • Object
show all
Defined in:
lib/vsafe/cvn_result.rb

Constant Summary collapse

INVALID =
15
MATCH =
17
NOT_MATCHED =
19
CHECK_NOT_PROCESSED =
20
SHOULD_BE_AVAILABLE =
22
NOT_SUPPORTED_BY_ISSUER =
23
NOT_SENT =
45

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(code) ⇒ CvnResult

Returns a new instance of CvnResult.



13
14
15
# File 'lib/vsafe/cvn_result.rb', line 13

def initialize(code)
  @code = code.to_i
end

Instance Attribute Details

#codeObject (readonly)

Returns the value of attribute code.



11
12
13
# File 'lib/vsafe/cvn_result.rb', line 11

def code
  @code
end