lib/coder_wally/user.rb in coder_wally-0.1.0 vs lib/coder_wally/user.rb in coder_wally-0.1.1
- old
+ new
@@ -1,17 +1,17 @@
# All code in the gem is namespaced under this module.
module CoderWally
- # Stores user properties
- class User
- # Object properties
- attr_reader :name, :username, :location, :team, :endorsements
-
- # Initialise object with a hash of values
- def initialize(name, username, location, team, endorsements)
- @name = name
- @username = username
- @location = location
- @team = team
- @endorsements = endorsements
- end
+ # Stores user properties
+ class User
+ # Object properties
+ attr_reader :name, :username, :location, :team, :endorsements
+
+ # Initialise object with a hash of values
+ def initialize(name, username, location, team, endorsements)
+ @name = name
+ @username = username
+ @location = location
+ @team = team
+ @endorsements = endorsements
end
-end
\ No newline at end of file
+ end
+end