Sha256: 003aa2ed966b8ed8684a3b73861a9cc217896d2f5b364e47571a43628b8ab6eb
Contents?: true
Size: 308 Bytes
Versions: 13
Compression:
Stored size: 308 Bytes
Contents
module AuthLh class SessionResponse attr_accessor :user, :success, :reason 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
13 entries across 13 versions & 1 rubygems