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
allow_instantiation?, attr_accessor, attr_reader, attr_writer, collection_attributes, defined_attributes, #destroyed?, #dirty_data, entity_attr_accessor, entity_attr_reader, entity_attr_writer, entity_attributes, entity_collection_attr_accessor, entity_collection_attr_reader, entity_collection_attr_writer, #error, inherited, #initialize, #keys_hash, #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?, #reload!, #reload_recursive, #rollback!, #to_hash, #to_json, #to_partial
Methods included from EntityResponseConcern
#add_errors, #data, #error?, #errors?, #errors_http_code=, #http_code, #success?
Constructor Details
This class inherits a constructor from SBF::Client::BaseEntity
Instance Attribute Details
#cancer_status ⇒ Object
Returns the value of attribute cancer_status.
108 109 110 |
# File 'lib/stbaldricks/entities/person.rb', line 108 def cancer_status @cancer_status end |
#cancer_type ⇒ Object
Returns the value of attribute cancer_type.
108 109 110 |
# File 'lib/stbaldricks/entities/person.rb', line 108 def cancer_type @cancer_type end |
#family_relationship ⇒ Object
Returns the value of attribute family_relationship.
108 109 110 |
# File 'lib/stbaldricks/entities/person.rb', line 108 def family_relationship @family_relationship end |
#is_adult_friend_or_family ⇒ Object (readonly)
Returns the value of attribute is_adult_friend_or_family.
109 110 111 |
# File 'lib/stbaldricks/entities/person.rb', line 109 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.
109 110 111 |
# File 'lib/stbaldricks/entities/person.rb', line 109 def is_adult_survivor @is_adult_survivor end |
#is_child_family ⇒ Object (readonly)
Returns the value of attribute is_child_family.
109 110 111 |
# File 'lib/stbaldricks/entities/person.rb', line 109 def is_child_family @is_child_family end |
#is_child_friend ⇒ Object (readonly)
Returns the value of attribute is_child_friend.
109 110 111 |
# File 'lib/stbaldricks/entities/person.rb', line 109 def is_child_friend @is_child_friend end |
#is_child_survivor ⇒ Object (readonly)
Returns the value of attribute is_child_survivor.
109 110 111 |
# File 'lib/stbaldricks/entities/person.rb', line 109 def is_child_survivor @is_child_survivor end |
#is_none ⇒ Object (readonly)
Returns the value of attribute is_none.
109 110 111 |
# File 'lib/stbaldricks/entities/person.rb', line 109 def is_none @is_none end |