Sha256: 86fe75c0beb1346a3a2996b1cad3d3e9a9631e7121b34c85e9ff344f83fd93d8

Contents?: true

Size: 210 Bytes

Versions: 75

Compression:

Stored size: 210 Bytes

Contents

module EgovUtils
  class LegalPerson < AbstractPerson

    belongs_to :person, class_name: 'EgovUtils::Person'

    def fullname
      name
    end

    def to_s
      "#{fullname} (#{ico})"
    end

  end
end

Version data entries

75 entries across 75 versions & 1 rubygems

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