Class: MoneyS3::Parsers::OsobaType
- Inherits:
-
Object
- Object
- MoneyS3::Parsers::OsobaType
- Includes:
- ParserCore::BaseParser
- Defined in:
- lib/money_s3/parsers/osoba_type.rb
Instance Method Summary collapse
- #adresa ⇒ Object
- #dat_nar ⇒ Object
- #dat_nar_attributes ⇒ Object
- #e_mail ⇒ Object
- #e_mail_attributes ⇒ Object
- #fax ⇒ Object
- #funkce ⇒ Object
- #funkce_attributes ⇒ Object
- #guid ⇒ Object
- #guid_attributes ⇒ Object
- #jednatel ⇒ Object
- #jednatel_attributes ⇒ Object
- #jmeno ⇒ Object
- #jmeno_attributes ⇒ Object
- #kod_partn ⇒ Object
- #kod_partn_attributes ⇒ Object
- #mail ⇒ Object
- #mail_attributes ⇒ Object
- #mail_datum ⇒ Object
- #mail_datum_attributes ⇒ Object
- #mobil ⇒ Object
- #osloveni ⇒ Object
- #osloveni_attributes ⇒ Object
- #pohlavi ⇒ Object
- #pohlavi_attributes ⇒ Object
- #pozn ⇒ Object
- #pozn_attributes ⇒ Object
- #prijmeni ⇒ Object
- #prijmeni_attributes ⇒ Object
- #spojeni ⇒ Object
- #spojeni_attributes ⇒ Object
- #tel ⇒ Object
- #titul_pred ⇒ Object
- #titul_pred_attributes ⇒ Object
- #titul_za ⇒ Object
- #titul_za_attributes ⇒ Object
- #to_h ⇒ Object
Instance Method Details
#adresa ⇒ Object
70 71 72 |
# File 'lib/money_s3/parsers/osoba_type.rb', line 70 def adresa submodel_at(AdresaType, 'Adresa') end |
#dat_nar ⇒ Object
46 47 48 |
# File 'lib/money_s3/parsers/osoba_type.rb', line 46 def dat_nar at 'DatNar' end |
#dat_nar_attributes ⇒ Object
50 51 52 |
# File 'lib/money_s3/parsers/osoba_type.rb', line 50 def dat_nar_attributes attributes_at 'DatNar' end |
#e_mail ⇒ Object
94 95 96 |
# File 'lib/money_s3/parsers/osoba_type.rb', line 94 def e_mail at 'EMail' end |
#e_mail_attributes ⇒ Object
98 99 100 |
# File 'lib/money_s3/parsers/osoba_type.rb', line 98 def e_mail_attributes attributes_at 'EMail' end |
#fax ⇒ Object
78 79 80 |
# File 'lib/money_s3/parsers/osoba_type.rb', line 78 def fax submodel_at(TelefonType, 'Fax') end |
#funkce ⇒ Object
62 63 64 |
# File 'lib/money_s3/parsers/osoba_type.rb', line 62 def funkce at 'Funkce' end |
#funkce_attributes ⇒ Object
66 67 68 |
# File 'lib/money_s3/parsers/osoba_type.rb', line 66 def funkce_attributes attributes_at 'Funkce' end |
#guid ⇒ Object
134 135 136 |
# File 'lib/money_s3/parsers/osoba_type.rb', line 134 def guid at 'GUID' end |
#guid_attributes ⇒ Object
138 139 140 |
# File 'lib/money_s3/parsers/osoba_type.rb', line 138 def guid_attributes attributes_at 'GUID' end |
#jednatel ⇒ Object
142 143 144 |
# File 'lib/money_s3/parsers/osoba_type.rb', line 142 def jednatel at 'Jednatel' end |
#jednatel_attributes ⇒ Object
146 147 148 |
# File 'lib/money_s3/parsers/osoba_type.rb', line 146 def jednatel_attributes attributes_at 'Jednatel' end |
#jmeno ⇒ Object
30 31 32 |
# File 'lib/money_s3/parsers/osoba_type.rb', line 30 def jmeno at 'Jmeno' end |
#jmeno_attributes ⇒ Object
34 35 36 |
# File 'lib/money_s3/parsers/osoba_type.rb', line 34 def jmeno_attributes attributes_at 'Jmeno' end |
#kod_partn ⇒ Object
126 127 128 |
# File 'lib/money_s3/parsers/osoba_type.rb', line 126 def kod_partn at 'KodPartn' end |
#kod_partn_attributes ⇒ Object
130 131 132 |
# File 'lib/money_s3/parsers/osoba_type.rb', line 130 def kod_partn_attributes attributes_at 'KodPartn' end |
#mail ⇒ Object
102 103 104 |
# File 'lib/money_s3/parsers/osoba_type.rb', line 102 def mail at 'Mail' end |
#mail_attributes ⇒ Object
106 107 108 |
# File 'lib/money_s3/parsers/osoba_type.rb', line 106 def mail_attributes attributes_at 'Mail' end |
#mail_datum ⇒ Object
110 111 112 |
# File 'lib/money_s3/parsers/osoba_type.rb', line 110 def mail_datum at 'MailDatum' end |
#mail_datum_attributes ⇒ Object
114 115 116 |
# File 'lib/money_s3/parsers/osoba_type.rb', line 114 def mail_datum_attributes attributes_at 'MailDatum' end |
#mobil ⇒ Object
82 83 84 |
# File 'lib/money_s3/parsers/osoba_type.rb', line 82 def mobil submodel_at(TelefonType, 'Mobil') end |
#osloveni ⇒ Object
6 7 8 |
# File 'lib/money_s3/parsers/osoba_type.rb', line 6 def osloveni at 'Osloveni' end |
#osloveni_attributes ⇒ Object
10 11 12 |
# File 'lib/money_s3/parsers/osoba_type.rb', line 10 def osloveni_attributes attributes_at 'Osloveni' end |
#pohlavi ⇒ Object
54 55 56 |
# File 'lib/money_s3/parsers/osoba_type.rb', line 54 def pohlavi at 'Pohlavi' end |
#pohlavi_attributes ⇒ Object
58 59 60 |
# File 'lib/money_s3/parsers/osoba_type.rb', line 58 def pohlavi_attributes attributes_at 'Pohlavi' end |
#pozn ⇒ Object
118 119 120 |
# File 'lib/money_s3/parsers/osoba_type.rb', line 118 def pozn at 'Pozn' end |
#pozn_attributes ⇒ Object
122 123 124 |
# File 'lib/money_s3/parsers/osoba_type.rb', line 122 def pozn_attributes attributes_at 'Pozn' end |
#prijmeni ⇒ Object
38 39 40 |
# File 'lib/money_s3/parsers/osoba_type.rb', line 38 def prijmeni at 'Prijmeni' end |
#prijmeni_attributes ⇒ Object
42 43 44 |
# File 'lib/money_s3/parsers/osoba_type.rb', line 42 def prijmeni_attributes attributes_at 'Prijmeni' end |
#spojeni ⇒ Object
86 87 88 |
# File 'lib/money_s3/parsers/osoba_type.rb', line 86 def spojeni at 'Spojeni' end |
#spojeni_attributes ⇒ Object
90 91 92 |
# File 'lib/money_s3/parsers/osoba_type.rb', line 90 def spojeni_attributes attributes_at 'Spojeni' end |
#tel ⇒ Object
74 75 76 |
# File 'lib/money_s3/parsers/osoba_type.rb', line 74 def tel submodel_at(TelefonType, 'Tel') end |
#titul_pred ⇒ Object
14 15 16 |
# File 'lib/money_s3/parsers/osoba_type.rb', line 14 def titul_pred at 'TitulPred' end |
#titul_pred_attributes ⇒ Object
18 19 20 |
# File 'lib/money_s3/parsers/osoba_type.rb', line 18 def titul_pred_attributes attributes_at 'TitulPred' end |
#titul_za ⇒ Object
22 23 24 |
# File 'lib/money_s3/parsers/osoba_type.rb', line 22 def titul_za at 'TitulZa' end |
#titul_za_attributes ⇒ Object
26 27 28 |
# File 'lib/money_s3/parsers/osoba_type.rb', line 26 def titul_za_attributes attributes_at 'TitulZa' end |
#to_h ⇒ Object
150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 |
# File 'lib/money_s3/parsers/osoba_type.rb', line 150 def to_h hash = {} hash[:attributes] = attributes hash[:osloveni] = osloveni if has? 'Osloveni' hash[:osloveni_attributes] = osloveni_attributes if has? 'Osloveni' hash[:titul_pred] = titul_pred if has? 'TitulPred' hash[:titul_pred_attributes] = titul_pred_attributes if has? 'TitulPred' hash[:titul_za] = titul_za if has? 'TitulZa' hash[:titul_za_attributes] = titul_za_attributes if has? 'TitulZa' hash[:jmeno] = jmeno if has? 'Jmeno' hash[:jmeno_attributes] = jmeno_attributes if has? 'Jmeno' hash[:prijmeni] = prijmeni if has? 'Prijmeni' hash[:prijmeni_attributes] = prijmeni_attributes if has? 'Prijmeni' hash[:dat_nar] = dat_nar if has? 'DatNar' hash[:dat_nar_attributes] = dat_nar_attributes if has? 'DatNar' hash[:pohlavi] = pohlavi if has? 'Pohlavi' hash[:pohlavi_attributes] = pohlavi_attributes if has? 'Pohlavi' hash[:funkce] = funkce if has? 'Funkce' hash[:funkce_attributes] = funkce_attributes if has? 'Funkce' hash[:adresa] = adresa.to_h if has? 'Adresa' hash[:tel] = tel.to_h if has? 'Tel' hash[:fax] = fax.to_h if has? 'Fax' hash[:mobil] = mobil.to_h if has? 'Mobil' hash[:spojeni] = spojeni if has? 'Spojeni' hash[:spojeni_attributes] = spojeni_attributes if has? 'Spojeni' hash[:e_mail] = e_mail if has? 'EMail' hash[:e_mail_attributes] = e_mail_attributes if has? 'EMail' hash[:mail] = mail if has? 'Mail' hash[:mail_attributes] = mail_attributes if has? 'Mail' hash[:mail_datum] = mail_datum if has? 'MailDatum' hash[:mail_datum_attributes] = mail_datum_attributes if has? 'MailDatum' hash[:pozn] = pozn if has? 'Pozn' hash[:pozn_attributes] = pozn_attributes if has? 'Pozn' hash[:kod_partn] = kod_partn if has? 'KodPartn' hash[:kod_partn_attributes] = kod_partn_attributes if has? 'KodPartn' hash[:guid] = guid if has? 'GUID' hash[:guid_attributes] = guid_attributes if has? 'GUID' hash[:jednatel] = jednatel if has? 'Jednatel' hash[:jednatel_attributes] = jednatel_attributes if has? 'Jednatel' hash end |