Initial commit
This commit is contained in:
10
app/models/contact.rb
Normal file
10
app/models/contact.rb
Normal file
@@ -0,0 +1,10 @@
|
||||
class Contact
|
||||
attr_accessor :name, :address, :email, :phone
|
||||
|
||||
def initialize(name, address, email, phone)
|
||||
@name = name
|
||||
@address = address
|
||||
@email = email
|
||||
@phone = phone
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user