Sha256: 0cc22276c6585a3208e02e6527541f832e34ef24a0236e0990c2b5f4cb5e8c8a
Contents?: true
Size: 362 Bytes
Versions: 30
Compression:
Stored size: 362 Bytes
Contents
module EgovUtils class PersonSchema < AzaharaSchema::ModelSchema def main_attribute_name 'fullname' end def initialize_available_attributes @available_attributes ||= [] @available_attributes << AzaharaSchema::DerivedAttribute.new(model, 'fullname', :concat, 'firstname', 'lastname', schema: self) super end end end
Version data entries
30 entries across 30 versions & 1 rubygems