Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Added temporarily sample user class

  • Loading branch information...
commit 3c18a5d4fb653babd032c1b792e317dca91d5f62 1 parent b640210
Eric Hackman authored September 28, 2011

Showing 1 changed file with 12 additions and 0 deletions. Show diff stats Hide diff stats

  1. 12  example_user.rb
12  example_user.rb
... ...
@@ -0,0 +1,12 @@
  1
+class User
  2
+	attr_accessor :name, :email
  3
+	
  4
+	def initialize(attributes = {})
  5
+		@name = attributes[:name]
  6
+		@email = attributes[:email]
  7
+	end
  8
+	
  9
+	def formatted_email
  10
+		"#{@name} <#{@email}>"
  11
+	end
  12
+end

0 notes on commit 3c18a5d

Please sign in to comment.
Something went wrong with that request. Please try again.