Class: Org::Familysearch::Ws::Familytree::V2::Schema::PedigreePerson
Instance Attribute Summary collapse
-
#pedigree ⇒ Object
Returns the value of attribute pedigree.
Attributes inherited from Person
#assertions, #changes, #discussions, #families, #id, #identifiers, #parents, #personId, #personas, #properties, #relationships, #requestedId, #tempId, #version, #watches
Instance Method Summary collapse
- #father ⇒ Object
-
#initialize(pedigree = nil, person = nil) ⇒ PedigreePerson
constructor
A new instance of PedigreePerson.
- #mother ⇒ Object
Methods inherited from Person
#add_baptism, #add_birth, #add_confirmation, #add_death, #add_endowment, #add_gender, #add_initiatory, #add_name, #add_sealing_to_parents, #baptisms, #birth, #births, #confirmations, #create_combine, #create_relationship, #death, #deaths, #divorces, #endowments, #father_id, from_json, #full_name, #full_names, #gender, #init_jaxb_json_hash, #initiatories, #marriages, #mother_id, #sealing_to_parents, #sealing_to_spouses, #select_birth_summary, #select_death_summary, #select_father_summary, #select_mother_summary, #select_name_summary, #select_spouse_summary, #spouse_id, #surname, #surnames, #to_jaxb_json_hash, #to_json
Constructor Details
#initialize(pedigree = nil, person = nil) ⇒ PedigreePerson
Returns a new instance of PedigreePerson.
5 6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/ruby-fs-stack/familytree/pedigree.rb', line 5 def initialize(pedigree = nil, person = nil) if person @id = person.id # @version = person.version if person.version @assertions = person.assertions if person.assertions @families = person.families if person.families @parents = person.parents if person.parents @properties = person.properties if person.properties end if pedigree @pedigree = pedigree end end |
Instance Attribute Details
#pedigree ⇒ Object
Returns the value of attribute pedigree.
3 4 5 |
# File 'lib/ruby-fs-stack/familytree/pedigree.rb', line 3 def pedigree @pedigree end |