lib/grendel/user.rb in grendel-ruby-0.1.2 vs lib/grendel/user.rb in grendel-ruby-0.1.3
- old
+ new
@@ -7,10 +7,10 @@
# params:
# id
# uri
# password
def initialize(client, params)
- params.symbolize_keys!
+ params = Mash.new(params)
@client = client
@id = params[:id]
@uri = params[:uri] ?
URI.parse(params[:uri]).path :
"/users/" + @id # escape this?
\ No newline at end of file