Class: EgovUtils::NaturalPersonSchema
- Inherits:
-
AzaharaSchema::ModelSchema
- Object
- AzaharaSchema::ModelSchema
- EgovUtils::NaturalPersonSchema
- Defined in:
- app/schemas/egov_utils/natural_person_schema.rb
Instance Method Summary collapse
Instance Method Details
#initialize_available_attributes ⇒ Object
8 9 10 11 12 |
# File 'app/schemas/egov_utils/natural_person_schema.rb', line 8 def initialize_available_attributes @available_attributes ||= [] @available_attributes << AzaharaSchema::DerivedAttribute.new(model, 'fullname', :concat, 'firstname', 'lastname', schema: self) super end |
#main_attribute_name ⇒ Object
4 5 6 |
# File 'app/schemas/egov_utils/natural_person_schema.rb', line 4 def main_attribute_name 'fullname' end |