class WsCee::Subject
Attributes
address[R]
date_of_birth[R]
name[R]
registration_id[R]
Public Class Methods
new(subject_info_hash)
click to toggle source
# File lib/ws_cee_client/subject.rb, line 8 def initialize(subject_info_hash) @name = subject_info_hash[:name] @address = subject_info_hash[:address] @registration_id = subject_info_hash[:registration_id] @date_of_birth = subject_info_hash[:date_of_birth] rescue NoMethodError raise WsCee::ParsingError end