Class: VinValidator::Result
- Inherits:
-
Object
- Object
- VinValidator::Result
- Defined in:
- lib/vin_validator/result.rb
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(vin:, type:, value:) ⇒ Result
constructor
:nodoc:.
Constructor Details
#initialize(vin:, type:, value:) ⇒ Result
:nodoc:
13 14 15 16 17 |
# File 'lib/vin_validator/result.rb', line 13 def initialize(vin:, type:, value:) @vin = vin @type = type @value = value end |
Instance Attribute Details
#type ⇒ String
8 9 10 |
# File 'lib/vin_validator/result.rb', line 8 def type @type end |
#value ⇒ String
10 11 12 |
# File 'lib/vin_validator/result.rb', line 10 def value @value end |
#vin ⇒ String
6 7 8 |
# File 'lib/vin_validator/result.rb', line 6 def vin @vin end |