Method: FipeApi::Brand#initialize
- Defined in:
- lib/fipe_api/resources/brand.rb
#initialize(id, name, table, vehicle) ⇒ Brand
Returns a new instance of Brand.
8 9 10 11 12 13 |
# File 'lib/fipe_api/resources/brand.rb', line 8 def initialize(id, name, table, vehicle) self.id = id self.name = name self.table = table self.vehicle = vehicle end |