I've got the following code
u = Client.get(:show_by_username, :username => username.downcase)
When a valid user is returned, they seem to be getting returned as a hash instead of an object that I can call methods on
e.g. I have to access values like
u['id']
instead of
u.id
How can I get it to return it as an object?
Thanks