Skip to content

Instantly share code, notes, and snippets.

@mrageh
Last active December 23, 2015 12:09
Show Gist options
  • Save mrageh/6633429 to your computer and use it in GitHub Desktop.
Save mrageh/6633429 to your computer and use it in GitHub Desktop.
attendees - adam
require "pry"
class Attendee
attr_accessor :first_name, :last_name,
:zipcode, :city,
:email_address, :state,
:street, :homephone,
:regdate, :row
def initialize(row)
@first_name = row[:first_name]
@last_name = row[:last_name]
@zip_code = row[:zipcode]
@city = row[:city]
@state = row[:state]
@homephone = row[:homephone]
@email_address = row[:email_address]
@street = row[:street]
@regdate = row[:regdate]
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment