Class: MoneyS3::Parsers::Castky
- Inherits:
-
Object
- Object
- MoneyS3::Parsers::Castky
- Includes:
- ParserCore::BaseParser
- Defined in:
- lib/money_s3/parsers/castky.rb
Instance Method Summary collapse
- #celkem ⇒ Object
- #celkem_attributes ⇒ Object
- #cerp_zuct ⇒ Object
- #cerp_zuct_attributes ⇒ Object
- #cest_sluzba ⇒ Object
- #cest_sluzba_attributes ⇒ Object
- #dph_1 ⇒ Object
- #dph_1_attributes ⇒ Object
- #dph_2 ⇒ Object
- #dph_2_attributes ⇒ Object
- #dph_3 ⇒ Object
- #dph_3_attributes ⇒ Object
- #pouz_zb_0 ⇒ Object
- #pouz_zb_0_attributes ⇒ Object
- #pouz_zb_1 ⇒ Object
- #pouz_zb_1_attributes ⇒ Object
- #pouz_zb_2 ⇒ Object
- #pouz_zb_2_attributes ⇒ Object
- #pouz_zb_3 ⇒ Object
- #pouz_zb_3_attributes ⇒ Object
- #pouz_zbozi ⇒ Object
- #pouz_zbozi_attributes ⇒ Object
- #to_h ⇒ Object
- #urc_cerp_zct ⇒ Object
- #urc_cerp_zct_attributes ⇒ Object
- #zaklad_0 ⇒ Object
- #zaklad_0_attributes ⇒ Object
- #zaklad_1 ⇒ Object
- #zaklad_1_attributes ⇒ Object
- #zaklad_2 ⇒ Object
- #zaklad_2_attributes ⇒ Object
- #zaklad_3 ⇒ Object
- #zaklad_3_attributes ⇒ Object
Instance Method Details
#celkem ⇒ Object
6 7 8 |
# File 'lib/money_s3/parsers/castky.rb', line 6 def celkem at 'Celkem' end |
#celkem_attributes ⇒ Object
10 11 12 |
# File 'lib/money_s3/parsers/castky.rb', line 10 def celkem_attributes attributes_at 'Celkem' end |
#cerp_zuct ⇒ Object
126 127 128 |
# File 'lib/money_s3/parsers/castky.rb', line 126 def cerp_zuct at 'CerpZuct' end |
#cerp_zuct_attributes ⇒ Object
130 131 132 |
# File 'lib/money_s3/parsers/castky.rb', line 130 def cerp_zuct_attributes attributes_at 'CerpZuct' end |
#cest_sluzba ⇒ Object
70 71 72 |
# File 'lib/money_s3/parsers/castky.rb', line 70 def cest_sluzba at 'CestSluzba' end |
#cest_sluzba_attributes ⇒ Object
74 75 76 |
# File 'lib/money_s3/parsers/castky.rb', line 74 def cest_sluzba_attributes attributes_at 'CestSluzba' end |
#dph_1 ⇒ Object
46 47 48 |
# File 'lib/money_s3/parsers/castky.rb', line 46 def dph_1 at 'DPH_1' end |
#dph_1_attributes ⇒ Object
50 51 52 |
# File 'lib/money_s3/parsers/castky.rb', line 50 def dph_1_attributes attributes_at 'DPH_1' end |
#dph_2 ⇒ Object
54 55 56 |
# File 'lib/money_s3/parsers/castky.rb', line 54 def dph_2 at 'DPH_2' end |
#dph_2_attributes ⇒ Object
58 59 60 |
# File 'lib/money_s3/parsers/castky.rb', line 58 def dph_2_attributes attributes_at 'DPH_2' end |
#dph_3 ⇒ Object
62 63 64 |
# File 'lib/money_s3/parsers/castky.rb', line 62 def dph_3 at 'DPH_3' end |
#dph_3_attributes ⇒ Object
66 67 68 |
# File 'lib/money_s3/parsers/castky.rb', line 66 def dph_3_attributes attributes_at 'DPH_3' end |
#pouz_zb_0 ⇒ Object
86 87 88 |
# File 'lib/money_s3/parsers/castky.rb', line 86 def pouz_zb_0 at 'PouzZb_0' end |
#pouz_zb_0_attributes ⇒ Object
90 91 92 |
# File 'lib/money_s3/parsers/castky.rb', line 90 def pouz_zb_0_attributes attributes_at 'PouzZb_0' end |
#pouz_zb_1 ⇒ Object
94 95 96 |
# File 'lib/money_s3/parsers/castky.rb', line 94 def pouz_zb_1 at 'PouzZb_1' end |
#pouz_zb_1_attributes ⇒ Object
98 99 100 |
# File 'lib/money_s3/parsers/castky.rb', line 98 def pouz_zb_1_attributes attributes_at 'PouzZb_1' end |
#pouz_zb_2 ⇒ Object
102 103 104 |
# File 'lib/money_s3/parsers/castky.rb', line 102 def pouz_zb_2 at 'PouzZb_2' end |
#pouz_zb_2_attributes ⇒ Object
106 107 108 |
# File 'lib/money_s3/parsers/castky.rb', line 106 def pouz_zb_2_attributes attributes_at 'PouzZb_2' end |
#pouz_zb_3 ⇒ Object
110 111 112 |
# File 'lib/money_s3/parsers/castky.rb', line 110 def pouz_zb_3 at 'PouzZb_3' end |
#pouz_zb_3_attributes ⇒ Object
114 115 116 |
# File 'lib/money_s3/parsers/castky.rb', line 114 def pouz_zb_3_attributes attributes_at 'PouzZb_3' end |
#pouz_zbozi ⇒ Object
78 79 80 |
# File 'lib/money_s3/parsers/castky.rb', line 78 def pouz_zbozi at 'PouzZbozi' end |
#pouz_zbozi_attributes ⇒ Object
82 83 84 |
# File 'lib/money_s3/parsers/castky.rb', line 82 def pouz_zbozi_attributes attributes_at 'PouzZbozi' end |
#to_h ⇒ Object
134 135 136 137 138 139 140 141 142 143 144 145 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 |
# File 'lib/money_s3/parsers/castky.rb', line 134 def to_h hash = {} hash[:attributes] = attributes hash[:celkem] = celkem if has? 'Celkem' hash[:celkem_attributes] = celkem_attributes if has? 'Celkem' hash[:zaklad_0] = zaklad_0 if has? 'Zaklad_0' hash[:zaklad_0_attributes] = zaklad_0_attributes if has? 'Zaklad_0' hash[:zaklad_1] = zaklad_1 if has? 'Zaklad_1' hash[:zaklad_1_attributes] = zaklad_1_attributes if has? 'Zaklad_1' hash[:zaklad_2] = zaklad_2 if has? 'Zaklad_2' hash[:zaklad_2_attributes] = zaklad_2_attributes if has? 'Zaklad_2' hash[:zaklad_3] = zaklad_3 if has? 'Zaklad_3' hash[:zaklad_3_attributes] = zaklad_3_attributes if has? 'Zaklad_3' hash[:dph_1] = dph_1 if has? 'DPH_1' hash[:dph_1_attributes] = dph_1_attributes if has? 'DPH_1' hash[:dph_2] = dph_2 if has? 'DPH_2' hash[:dph_2_attributes] = dph_2_attributes if has? 'DPH_2' hash[:dph_3] = dph_3 if has? 'DPH_3' hash[:dph_3_attributes] = dph_3_attributes if has? 'DPH_3' hash[:cest_sluzba] = cest_sluzba if has? 'CestSluzba' hash[:cest_sluzba_attributes] = cest_sluzba_attributes if has? 'CestSluzba' hash[:pouz_zbozi] = pouz_zbozi if has? 'PouzZbozi' hash[:pouz_zbozi_attributes] = pouz_zbozi_attributes if has? 'PouzZbozi' hash[:pouz_zb_0] = pouz_zb_0 if has? 'PouzZb_0' hash[:pouz_zb_0_attributes] = pouz_zb_0_attributes if has? 'PouzZb_0' hash[:pouz_zb_1] = pouz_zb_1 if has? 'PouzZb_1' hash[:pouz_zb_1_attributes] = pouz_zb_1_attributes if has? 'PouzZb_1' hash[:pouz_zb_2] = pouz_zb_2 if has? 'PouzZb_2' hash[:pouz_zb_2_attributes] = pouz_zb_2_attributes if has? 'PouzZb_2' hash[:pouz_zb_3] = pouz_zb_3 if has? 'PouzZb_3' hash[:pouz_zb_3_attributes] = pouz_zb_3_attributes if has? 'PouzZb_3' hash[:urc_cerp_zct] = urc_cerp_zct if has? 'UrcCerpZct' hash[:urc_cerp_zct_attributes] = urc_cerp_zct_attributes if has? 'UrcCerpZct' hash[:cerp_zuct] = cerp_zuct if has? 'CerpZuct' hash[:cerp_zuct_attributes] = cerp_zuct_attributes if has? 'CerpZuct' hash end |
#urc_cerp_zct ⇒ Object
118 119 120 |
# File 'lib/money_s3/parsers/castky.rb', line 118 def urc_cerp_zct at 'UrcCerpZct' end |
#urc_cerp_zct_attributes ⇒ Object
122 123 124 |
# File 'lib/money_s3/parsers/castky.rb', line 122 def urc_cerp_zct_attributes attributes_at 'UrcCerpZct' end |
#zaklad_0 ⇒ Object
14 15 16 |
# File 'lib/money_s3/parsers/castky.rb', line 14 def zaklad_0 at 'Zaklad_0' end |
#zaklad_0_attributes ⇒ Object
18 19 20 |
# File 'lib/money_s3/parsers/castky.rb', line 18 def zaklad_0_attributes attributes_at 'Zaklad_0' end |
#zaklad_1 ⇒ Object
22 23 24 |
# File 'lib/money_s3/parsers/castky.rb', line 22 def zaklad_1 at 'Zaklad_1' end |
#zaklad_1_attributes ⇒ Object
26 27 28 |
# File 'lib/money_s3/parsers/castky.rb', line 26 def zaklad_1_attributes attributes_at 'Zaklad_1' end |
#zaklad_2 ⇒ Object
30 31 32 |
# File 'lib/money_s3/parsers/castky.rb', line 30 def zaklad_2 at 'Zaklad_2' end |
#zaklad_2_attributes ⇒ Object
34 35 36 |
# File 'lib/money_s3/parsers/castky.rb', line 34 def zaklad_2_attributes attributes_at 'Zaklad_2' end |
#zaklad_3 ⇒ Object
38 39 40 |
# File 'lib/money_s3/parsers/castky.rb', line 38 def zaklad_3 at 'Zaklad_3' end |
#zaklad_3_attributes ⇒ Object
42 43 44 |
# File 'lib/money_s3/parsers/castky.rb', line 42 def zaklad_3_attributes attributes_at 'Zaklad_3' end |