Class: VinValidator::Result

Inherits:
Object
  • Object
show all
Defined in:
lib/vin_validator/result.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#typeString

Returns:

  • (String)


8
9
10
# File 'lib/vin_validator/result.rb', line 8

def type
  @type
end

#valueString

Returns:

  • (String)


10
11
12
# File 'lib/vin_validator/result.rb', line 10

def value
  @value
end

#vinString

Returns:

  • (String)


6
7
8
# File 'lib/vin_validator/result.rb', line 6

def vin
  @vin
end