Class: SBF::Client::Person::HowAffected
- Inherits:
-
BaseEntity
- Object
- BaseEntity
- SBF::Client::Person::HowAffected
- Defined in:
- lib/stbaldricks/entities/person.rb
Defined Under Namespace
Modules: CancerStatus, CancerType, FamilyRelationship
Constant Summary
Constants inherited from BaseEntity
Instance Attribute Summary collapse
-
#cancer_status ⇒ Object
Returns the value of attribute cancer_status.
-
#cancer_type ⇒ Object
Returns the value of attribute cancer_type.
-
#family_relationship ⇒ Object
Returns the value of attribute family_relationship.
-
#is_adult_friend_or_family ⇒ Object
readonly
Returns the value of attribute is_adult_friend_or_family.
-
#is_adult_survivor ⇒ Object
readonly
Returns the value of attribute is_adult_survivor.
-
#is_child_family ⇒ Object
readonly
Returns the value of attribute is_child_family.
-
#is_child_friend ⇒ Object
readonly
Returns the value of attribute is_child_friend.
-
#is_child_survivor ⇒ Object
readonly
Returns the value of attribute is_child_survivor.
-
#is_none ⇒ Object
readonly
Returns the value of attribute is_none.
Attributes inherited from BaseEntity
Method Summary
Methods inherited from BaseEntity
#add_errors, allow_instantiation?, attr_accessor, attr_reader, attr_writer, attributes, #attributes=, collection_attributes, entity_attr_accessor, entity_attr_reader, entity_attr_writer, entity_attributes, entity_collection_attr_accessor, entity_collection_attr_reader, entity_collection_attr_writer, inherited, #initialize, #model_name, multitype_attr_accessor, multitype_attr_reader, multitype_attr_writer, multitype_collection_attr_accessor, multitype_collection_attr_reader, multitype_collection_attr_writer, #not_provided_attributes, optional_attributes, #persisted?, #to_hash, #to_json
Constructor Details
This class inherits a constructor from SBF::Client::BaseEntity
Instance Attribute Details
#cancer_status ⇒ Object
Returns the value of attribute cancer_status.
101 102 103 |
# File 'lib/stbaldricks/entities/person.rb', line 101 def cancer_status @cancer_status end |
#cancer_type ⇒ Object
Returns the value of attribute cancer_type.
101 102 103 |
# File 'lib/stbaldricks/entities/person.rb', line 101 def cancer_type @cancer_type end |
#family_relationship ⇒ Object
Returns the value of attribute family_relationship.
101 102 103 |
# File 'lib/stbaldricks/entities/person.rb', line 101 def family_relationship @family_relationship end |
#is_adult_friend_or_family ⇒ Object (readonly)
Returns the value of attribute is_adult_friend_or_family.
102 103 104 |
# File 'lib/stbaldricks/entities/person.rb', line 102 def is_adult_friend_or_family @is_adult_friend_or_family end |
#is_adult_survivor ⇒ Object (readonly)
Returns the value of attribute is_adult_survivor.
102 103 104 |
# File 'lib/stbaldricks/entities/person.rb', line 102 def is_adult_survivor @is_adult_survivor end |
#is_child_family ⇒ Object (readonly)
Returns the value of attribute is_child_family.
102 103 104 |
# File 'lib/stbaldricks/entities/person.rb', line 102 def is_child_family @is_child_family end |
#is_child_friend ⇒ Object (readonly)
Returns the value of attribute is_child_friend.
102 103 104 |
# File 'lib/stbaldricks/entities/person.rb', line 102 def is_child_friend @is_child_friend end |
#is_child_survivor ⇒ Object (readonly)
Returns the value of attribute is_child_survivor.
102 103 104 |
# File 'lib/stbaldricks/entities/person.rb', line 102 def is_child_survivor @is_child_survivor end |
#is_none ⇒ Object (readonly)
Returns the value of attribute is_none.
102 103 104 |
# File 'lib/stbaldricks/entities/person.rb', line 102 def is_none @is_none end |