class VinQuery::TrimLevel

Attributes

attributes[R]
trim_level[R]
vin[R]

Public Class Methods

new(vin, attributes) click to toggle source
# File lib/vin_query/trim_level.rb, line 5
def initialize(vin, attributes)
  @vin = vin
  @attributes = attributes
  @trim_level = attributes[:trim_level]
end

Public Instance Methods

to_s() click to toggle source
# File lib/vin_query/trim_level.rb, line 11
def to_s
  "#{@vin} - #{@trim_level}"
end