aboutsummaryrefslogblamecommitdiffstats
path: root/activemodel/test/models/contact.rb
blob: f9fb0af027679ca075426959eaa0e948bf526570 (plain) (tree)
1
2
3
4
5
6
7

                                                                



                                                          
   
class Contact
  attr_accessor :name, :age, :created_at, :awesome, :preferences

  def initialize(options = {})
    options.each { |name, value| send("#{name}=", value) }
  end
end