Sha256: 5fff00f981b2ee55b477858c978d1914d5b387e29e078d1ff83e43e8246cb237

Contents?: true

Size: 277 Bytes

Versions: 76

Compression:

Stored size: 277 Bytes

Contents

module EgovUtils
  class LegalPersonSchema < AzaharaSchema::ModelSchema

    def self.attribute(model, attr_name, attr_type=nil)
      case attr_name
      when 'legal_form'
        LegalFormAttribute.new(model, attr_name)
      else
        super
      end
    end

  end
end

Version data entries

76 entries across 76 versions & 1 rubygems

Version Path
egov_utils-1.5.0.alpha16 app/schemas/egov_utils/legal_person_schema.rb
egov_utils-1.5.0.alpha15 app/schemas/egov_utils/legal_person_schema.rb
egov_utils-1.5.0.alpha14 app/schemas/egov_utils/legal_person_schema.rb
egov_utils-1.5.0.alpha13 app/schemas/egov_utils/legal_person_schema.rb
egov_utils-1.5.0.alpha12 app/schemas/egov_utils/legal_person_schema.rb
egov_utils-1.5.0.alpha11 app/schemas/egov_utils/legal_person_schema.rb
egov_utils-1.5.0.alpha10 app/schemas/egov_utils/legal_person_schema.rb
egov_utils-1.5.0.alpha9 app/schemas/egov_utils/legal_person_schema.rb
egov_utils-1.5.0.alpha8 app/schemas/egov_utils/legal_person_schema.rb
egov_utils-1.5.0.alpha7 app/schemas/egov_utils/legal_person_schema.rb
egov_utils-1.5.0.alpha6 app/schemas/egov_utils/legal_person_schema.rb
egov_utils-1.5.0.alpha5 app/schemas/egov_utils/legal_person_schema.rb
egov_utils-1.5.0.alpha4 app/schemas/egov_utils/legal_person_schema.rb
egov_utils-1.4.5 app/schemas/egov_utils/legal_person_schema.rb
egov_utils-1.4.4 app/schemas/egov_utils/legal_person_schema.rb
egov_utils-1.5.0.alpha3 app/schemas/egov_utils/legal_person_schema.rb
egov_utils-1.5.0.alpha2 app/schemas/egov_utils/legal_person_schema.rb
egov_utils-1.5.0.alpha1 app/schemas/egov_utils/legal_person_schema.rb
egov_utils-1.4.3 app/schemas/egov_utils/legal_person_schema.rb
egov_utils-1.4.2 app/schemas/egov_utils/legal_person_schema.rb