Class: MotoRecall::Sampler::Sample

Inherits:
Object
  • Object
show all
Includes:
Util
Defined in:
lib/moto_recall/sampler/sample.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Util

#fetch_with_caching_and_logging, #fetch_with_logging, #log, #log_colored_count

Constructor Details

#initialize(make, vin, query) ⇒ Sample

Returns a new instance of Sample.



8
9
10
11
12
# File 'lib/moto_recall/sampler/sample.rb', line 8

def initialize(make, vin, query)
  @make = make
  @vin = vin
  @query = query
end

Instance Attribute Details

#makeObject (readonly)

Returns the value of attribute make.



6
7
8
# File 'lib/moto_recall/sampler/sample.rb', line 6

def make
  @make
end

#queryObject (readonly)

Returns the value of attribute query.



6
7
8
# File 'lib/moto_recall/sampler/sample.rb', line 6

def query
  @query
end

#recallsObject (readonly)

Returns the value of attribute recalls.



6
7
8
# File 'lib/moto_recall/sampler/sample.rb', line 6

def recalls
  @recalls
end

#vinObject (readonly)

Returns the value of attribute vin.



6
7
8
# File 'lib/moto_recall/sampler/sample.rb', line 6

def vin
  @vin
end