class AuthLh::SessionResponse
Attributes
destination_url[RW]
user[RW]
Public Class Methods
new(attributes={})
click to toggle source
# File lib/auth_lh/session_response.rb, line 5 def initialize(attributes={}) attributes.each do |k,v| if k.to_s == 'user' self.user = User.new(v) if v.present? else self.send("#{k}=", v) end end end