Method: SwaggerClient::MakeModel#initialize

Defined in:
lib/swagger_client/models/make_model.rb

#initialize(attributes = {}) ⇒ MakeModel

Returns a new instance of MakeModel.



41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# File 'lib/swagger_client/models/make_model.rb', line 41

def initialize(attributes = {})
  return unless attributes.is_a?(Hash)

  # convert string to symbol for hash key
  attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}

  
  if attributes[:'make']
    self.make = attributes[:'make']
  end
  
  if attributes[:'model']
    self.model = attributes[:'model']
  end
  
end