Method: Pandora::User#initialize
- Defined in:
- lib/pandora/user.rb
#initialize(user) ⇒ User
Create a new user and make sure no whitespace, since it will be parsed as url in the request.
15 16 17 |
# File 'lib/pandora/user.rb', line 15 def initialize(user) @user = user.downcase.strip end |