Sha256: 637d70b8dd7a85295f762c13b410359ddc7ca73f443008de0e2a396c95004b1d
Contents?: true
Size: 301 Bytes
Versions: 1
Compression:
Stored size: 301 Bytes
Contents
module AuthLh class SessionResponse attr_accessor :user, :login_url 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 end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
auth-lh-0.4.0 | lib/auth_lh/session_response.rb |