class Segurocomar::Entity::TruckBrand
Public Class Methods
attr_list()
click to toggle source
# File lib/segurocomar/entity/truck_brand.rb, line 4 def self.attr_list [:id, :name, :featured] end
new(attributes={})
click to toggle source
# File lib/segurocomar/entity/truck_brand.rb, line 10 def initialize(attributes={}) attributes.each do |k, v| self.send("#{k}=", v) if self.respond_to?(k) end end