lib/auth/lh/session_response.rb in auth-lh-0.0.2 vs lib/auth/lh/session_response.rb in auth-lh-0.0.3
- old
+ new
@@ -4,10 +4,10 @@
attr_accessor :user, :success, :reason, :login_url
def initialize(attributes={})
attributes.each do |k,v|
if k.to_s == 'user'
- self.user = Auth::User.new(v) if v.present?
+ self.user = User.new(v) if v.present?
else
self.send("#{k}=", v)
end
end
end