Sha256: a09b63e0d51db328a3a7676d5bf36a794300f10a6c5c0f60981bc684132341f8
Contents?: true
Size: 1.63 KB
Versions: 1
Compression:
Stored size: 1.63 KB
Contents
require 'money_s3/base_element' require 'money_s3/adresa_type' require 'money_s3/telefon_type' module MoneyS3 class OsobaType include BaseElement def osloveni at :Osloveni end def titul_pred at :TitulPred end def titul_za at :TitulZa end def jmeno at :Jmeno end def prijmeni at :Prijmeni end def dat_nar at :DatNar end def pohlavi at :Pohlavi end def funkce at :Funkce end def spojeni at :Spojeni end def e_mail at :EMail end def mail at :Mail end def mail_datum at :MailDatum end def pozn at :Pozn end def kod_partn at :KodPartn end def guid at :GUID end def jednatel at :Jednatel end def adresa submodel_at(AdresaType, :Adresa) end def tel submodel_at(TelefonType, :Tel) end def fax submodel_at(TelefonType, :Fax) end def mobil submodel_at(TelefonType, :Mobil) end def to_h { osloveni: osloveni, titul_pred: titul_pred, titul_za: titul_za, jmeno: jmeno, prijmeni: prijmeni, dat_nar: dat_nar, pohlavi: pohlavi, funkce: funkce, spojeni: spojeni, e_mail: e_mail, mail: mail, mail_datum: mail_datum, pozn: pozn, kod_partn: kod_partn, guid: guid, jednatel: jednatel, adresa: adresa.to_h, tel: tel.to_h, fax: fax.to_h, mobil: mobil.to_h }.delete_if { |k, v| v.nil? || v.empty? } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
money_s3-0.3.0 | lib/money_s3/osoba_type.rb |