class Psychometric::Subject
# Subject
This represents someone who undergoes the psychometric assessment. Since different providers identify subjects differently this class can be used to map subjects to your users.
Attributes
country[RW]
email[RW]
gender[RW]
identity[RW]
name[RW]
title[RW]
Public Class Methods
new(args)
click to toggle source
# File lib/psychometric/subject.rb, line 10 def initialize(args) @country = args[:country] @identity = args[:identity] @email = args[:email] @name = args[:name] @gender = args[:gender] @title = args[:title] end
Public Instance Methods
to_s()
click to toggle source
# File lib/psychometric/subject.rb, line 19 def to_s "\#<Psychometric::Subject name: \"#{@name}\" identity: \"#{@identity}\">" end