Sha256: 0fdfa2c1574eaf1f0d9c19f9c68a70d14023ade258599a664c7ceb31e14b5af8
Contents?: true
Size: 637 Bytes
Versions: 9
Compression:
Stored size: 637 Bytes
Contents
module Psychometric # # 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. class Subject attr_accessor :country, :identity, :email, :name, :gender, :title def initialize(args) @country = args[:country] @identity = args[:identity] @email = args[:email] @name = args[:name] @gender = args[:gender] @title = args[:title] end def to_s "\#<Psychometric::Subject name: \"#{@name}\" identity: \"#{@identity}\">" end end end
Version data entries
9 entries across 9 versions & 1 rubygems