Class: MoneyS3::Parsers::NesklPolozka
- Inherits:
-
Object
- Object
- MoneyS3::Parsers::NesklPolozka
- Includes:
- ParserCore::BaseParser
- Defined in:
- lib/money_s3/parsers/neskl_polozka.rb
Instance Method Summary collapse
- #bar_code ⇒ Object
- #bar_code_attributes ⇒ Object
- #dat_exp ⇒ Object
- #dat_exp_attributes ⇒ Object
- #dat_nakupu ⇒ Object
- #dat_nakupu_attributes ⇒ Object
- #dodavatel ⇒ Object
- #hmotnost ⇒ Object
- #hmotnost_attributes ⇒ Object
- #katalog ⇒ Object
- #katalog_attributes ⇒ Object
- #konec_odpocet ⇒ Object
- #konec_odpocet_attributes ⇒ Object
- #mj ⇒ Object
- #mj_attributes ⇒ Object
- #plneno_dph ⇒ Object
- #plneno_dph_attributes ⇒ Object
- #predm_pln ⇒ Object
- #predm_pln_attributes ⇒ Object
- #protizapis ⇒ Object
- #protizapis_attributes ⇒ Object
- #to_h ⇒ Object
- #typ_zar_doby ⇒ Object
- #typ_zar_doby_attributes ⇒ Object
- #uziv_code ⇒ Object
- #uziv_code_attributes ⇒ Object
- #vyrobni_cis ⇒ Object
- #vyrobni_cis_attributes ⇒ Object
- #zaloha ⇒ Object
- #zaloha_attributes ⇒ Object
- #zar_doba ⇒ Object
- #zar_doba_attributes ⇒ Object
- #zdan_zaloha ⇒ Object
- #zdan_zaloha_attributes ⇒ Object
- #zkrat ⇒ Object
- #zkrat_attributes ⇒ Object
Instance Method Details
#bar_code ⇒ Object
62 63 64 |
# File 'lib/money_s3/parsers/neskl_polozka.rb', line 62 def at 'BarCode' end |
#bar_code_attributes ⇒ Object
66 67 68 |
# File 'lib/money_s3/parsers/neskl_polozka.rb', line 66 def attributes_at 'BarCode' end |
#dat_exp ⇒ Object
118 119 120 |
# File 'lib/money_s3/parsers/neskl_polozka.rb', line 118 def dat_exp at 'DatExp' end |
#dat_exp_attributes ⇒ Object
122 123 124 |
# File 'lib/money_s3/parsers/neskl_polozka.rb', line 122 def dat_exp_attributes attributes_at 'DatExp' end |
#dat_nakupu ⇒ Object
126 127 128 |
# File 'lib/money_s3/parsers/neskl_polozka.rb', line 126 def dat_nakupu at 'DatNakupu' end |
#dat_nakupu_attributes ⇒ Object
130 131 132 |
# File 'lib/money_s3/parsers/neskl_polozka.rb', line 130 def dat_nakupu_attributes attributes_at 'DatNakupu' end |
#dodavatel ⇒ Object
134 135 136 |
# File 'lib/money_s3/parsers/neskl_polozka.rb', line 134 def dodavatel submodel_at(FirmaType, 'Dodavatel') end |
#hmotnost ⇒ Object
86 87 88 |
# File 'lib/money_s3/parsers/neskl_polozka.rb', line 86 def hmotnost at 'Hmotnost' end |
#hmotnost_attributes ⇒ Object
90 91 92 |
# File 'lib/money_s3/parsers/neskl_polozka.rb', line 90 def hmotnost_attributes attributes_at 'Hmotnost' end |
#katalog ⇒ Object
14 15 16 |
# File 'lib/money_s3/parsers/neskl_polozka.rb', line 14 def katalog at 'Katalog' end |
#katalog_attributes ⇒ Object
18 19 20 |
# File 'lib/money_s3/parsers/neskl_polozka.rb', line 18 def katalog_attributes attributes_at 'Katalog' end |
#konec_odpocet ⇒ Object
102 103 104 |
# File 'lib/money_s3/parsers/neskl_polozka.rb', line 102 def konec_odpocet at 'KonecOdpocet' end |
#konec_odpocet_attributes ⇒ Object
106 107 108 |
# File 'lib/money_s3/parsers/neskl_polozka.rb', line 106 def konec_odpocet_attributes attributes_at 'KonecOdpocet' end |
#mj ⇒ Object
6 7 8 |
# File 'lib/money_s3/parsers/neskl_polozka.rb', line 6 def mj at 'MJ' end |
#mj_attributes ⇒ Object
10 11 12 |
# File 'lib/money_s3/parsers/neskl_polozka.rb', line 10 def mj_attributes attributes_at 'MJ' end |
#plneno_dph ⇒ Object
94 95 96 |
# File 'lib/money_s3/parsers/neskl_polozka.rb', line 94 def plneno_dph at 'PlnenoDPH' end |
#plneno_dph_attributes ⇒ Object
98 99 100 |
# File 'lib/money_s3/parsers/neskl_polozka.rb', line 98 def plneno_dph_attributes attributes_at 'PlnenoDPH' end |
#predm_pln ⇒ Object
138 139 140 |
# File 'lib/money_s3/parsers/neskl_polozka.rb', line 138 def predm_pln at 'PredmPln' end |
#predm_pln_attributes ⇒ Object
142 143 144 |
# File 'lib/money_s3/parsers/neskl_polozka.rb', line 142 def predm_pln_attributes attributes_at 'PredmPln' end |
#protizapis ⇒ Object
54 55 56 |
# File 'lib/money_s3/parsers/neskl_polozka.rb', line 54 def protizapis at 'Protizapis' end |
#protizapis_attributes ⇒ Object
58 59 60 |
# File 'lib/money_s3/parsers/neskl_polozka.rb', line 58 def protizapis_attributes attributes_at 'Protizapis' end |
#to_h ⇒ Object
146 147 148 149 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 |
# File 'lib/money_s3/parsers/neskl_polozka.rb', line 146 def to_h hash = {} hash[:attributes] = attributes hash[:mj] = mj if has? 'MJ' hash[:mj_attributes] = mj_attributes if has? 'MJ' hash[:katalog] = katalog if has? 'Katalog' hash[:katalog_attributes] = katalog_attributes if has? 'Katalog' hash[:zaloha] = zaloha if has? 'Zaloha' hash[:zaloha_attributes] = zaloha_attributes if has? 'Zaloha' hash[:zdan_zaloha] = zdan_zaloha if has? 'ZdanZaloha' hash[:zdan_zaloha_attributes] = zdan_zaloha_attributes if has? 'ZdanZaloha' hash[:typ_zar_doby] = typ_zar_doby if has? 'TypZarDoby' hash[:typ_zar_doby_attributes] = typ_zar_doby_attributes if has? 'TypZarDoby' hash[:zar_doba] = zar_doba if has? 'ZarDoba' hash[:zar_doba_attributes] = zar_doba_attributes if has? 'ZarDoba' hash[:protizapis] = protizapis if has? 'Protizapis' hash[:protizapis_attributes] = protizapis_attributes if has? 'Protizapis' hash[:bar_code] = if has? 'BarCode' hash[:bar_code_attributes] = if has? 'BarCode' hash[:zkrat] = zkrat if has? 'Zkrat' hash[:zkrat_attributes] = zkrat_attributes if has? 'Zkrat' hash[:uziv_code] = uziv_code if has? 'UzivCode' hash[:uziv_code_attributes] = uziv_code_attributes if has? 'UzivCode' hash[:hmotnost] = hmotnost if has? 'Hmotnost' hash[:hmotnost_attributes] = hmotnost_attributes if has? 'Hmotnost' hash[:plneno_dph] = plneno_dph if has? 'PlnenoDPH' hash[:plneno_dph_attributes] = plneno_dph_attributes if has? 'PlnenoDPH' hash[:konec_odpocet] = konec_odpocet if has? 'KonecOdpocet' hash[:konec_odpocet_attributes] = konec_odpocet_attributes if has? 'KonecOdpocet' hash[:vyrobni_cis] = vyrobni_cis if has? 'VyrobniCis' hash[:vyrobni_cis_attributes] = vyrobni_cis_attributes if has? 'VyrobniCis' hash[:dat_exp] = dat_exp if has? 'DatExp' hash[:dat_exp_attributes] = dat_exp_attributes if has? 'DatExp' hash[:dat_nakupu] = dat_nakupu if has? 'DatNakupu' hash[:dat_nakupu_attributes] = dat_nakupu_attributes if has? 'DatNakupu' hash[:dodavatel] = dodavatel.to_h if has? 'Dodavatel' hash[:predm_pln] = predm_pln if has? 'PredmPln' hash[:predm_pln_attributes] = predm_pln_attributes if has? 'PredmPln' hash end |
#typ_zar_doby ⇒ Object
38 39 40 |
# File 'lib/money_s3/parsers/neskl_polozka.rb', line 38 def typ_zar_doby at 'TypZarDoby' end |
#typ_zar_doby_attributes ⇒ Object
42 43 44 |
# File 'lib/money_s3/parsers/neskl_polozka.rb', line 42 def typ_zar_doby_attributes attributes_at 'TypZarDoby' end |
#uziv_code ⇒ Object
78 79 80 |
# File 'lib/money_s3/parsers/neskl_polozka.rb', line 78 def uziv_code at 'UzivCode' end |
#uziv_code_attributes ⇒ Object
82 83 84 |
# File 'lib/money_s3/parsers/neskl_polozka.rb', line 82 def uziv_code_attributes attributes_at 'UzivCode' end |
#vyrobni_cis ⇒ Object
110 111 112 |
# File 'lib/money_s3/parsers/neskl_polozka.rb', line 110 def vyrobni_cis at 'VyrobniCis' end |
#vyrobni_cis_attributes ⇒ Object
114 115 116 |
# File 'lib/money_s3/parsers/neskl_polozka.rb', line 114 def vyrobni_cis_attributes attributes_at 'VyrobniCis' end |
#zaloha ⇒ Object
22 23 24 |
# File 'lib/money_s3/parsers/neskl_polozka.rb', line 22 def zaloha at 'Zaloha' end |
#zaloha_attributes ⇒ Object
26 27 28 |
# File 'lib/money_s3/parsers/neskl_polozka.rb', line 26 def zaloha_attributes attributes_at 'Zaloha' end |
#zar_doba ⇒ Object
46 47 48 |
# File 'lib/money_s3/parsers/neskl_polozka.rb', line 46 def zar_doba at 'ZarDoba' end |
#zar_doba_attributes ⇒ Object
50 51 52 |
# File 'lib/money_s3/parsers/neskl_polozka.rb', line 50 def zar_doba_attributes attributes_at 'ZarDoba' end |
#zdan_zaloha ⇒ Object
30 31 32 |
# File 'lib/money_s3/parsers/neskl_polozka.rb', line 30 def zdan_zaloha at 'ZdanZaloha' end |
#zdan_zaloha_attributes ⇒ Object
34 35 36 |
# File 'lib/money_s3/parsers/neskl_polozka.rb', line 34 def zdan_zaloha_attributes attributes_at 'ZdanZaloha' end |
#zkrat ⇒ Object
70 71 72 |
# File 'lib/money_s3/parsers/neskl_polozka.rb', line 70 def zkrat at 'Zkrat' end |
#zkrat_attributes ⇒ Object
74 75 76 |
# File 'lib/money_s3/parsers/neskl_polozka.rb', line 74 def zkrat_attributes attributes_at 'Zkrat' end |