Class: VSafe::AvsResult
- Inherits:
-
Object
- Object
- VSafe::AvsResult
- Defined in:
- lib/vsafe/avs_result.rb
Constant Summary collapse
- AVS_NOT_PERFORMED =
5
- NO_ADDRESS_SUPPLIED =
6
- AVS_DATA_INVALID =
7
- FOREIGN_ADDRESS_MATCH =
8
- FOREIGN_ADDRESS_MISMATCH =
9
- AVS_NOT_AVAILABLE =
10
- AVS_POSTAL_CODE_AND_LOCALE_MATCH =
11
- AVS_LOCALE_MATCH =
12
- AVS_POSTAL_CODE_MATCH =
13
- AVS_NOT_MATCHED =
14
- FORIEGN_ISSUER_AVS_NOT_AVAILABLE =
16
- AVS_SYSTEM_UNAVAILABLE =
24
- AVS_PARTIAL_MATCH =
39
- AMEX_AUTOMATED_ADDRESS_VERIFICATION =
2000
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(code) ⇒ AvsResult
constructor
A new instance of AvsResult.
Constructor Details
#initialize(code) ⇒ AvsResult
Returns a new instance of AvsResult.
20 21 22 |
# File 'lib/vsafe/avs_result.rb', line 20 def initialize(code) @code = code.to_i end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
18 19 20 |
# File 'lib/vsafe/avs_result.rb', line 18 def code @code end |