Class: MoneyS3::Parsers::Castky

Inherits:
Object
  • Object
show all
Includes:
ParserCore::BaseParser
Defined in:
lib/money_s3/parsers/castky.rb

Instance Method Summary collapse

Instance Method Details

#celkemObject



6
7
8
# File 'lib/money_s3/parsers/castky.rb', line 6

def celkem
  at 'Celkem'
end

#celkem_attributesObject



10
11
12
# File 'lib/money_s3/parsers/castky.rb', line 10

def celkem_attributes
  attributes_at 'Celkem'
end

#cerp_zuctObject



126
127
128
# File 'lib/money_s3/parsers/castky.rb', line 126

def cerp_zuct
  at 'CerpZuct'
end

#cerp_zuct_attributesObject



130
131
132
# File 'lib/money_s3/parsers/castky.rb', line 130

def cerp_zuct_attributes
  attributes_at 'CerpZuct'
end

#cest_sluzbaObject



70
71
72
# File 'lib/money_s3/parsers/castky.rb', line 70

def cest_sluzba
  at 'CestSluzba'
end

#cest_sluzba_attributesObject



74
75
76
# File 'lib/money_s3/parsers/castky.rb', line 74

def cest_sluzba_attributes
  attributes_at 'CestSluzba'
end

#dph_1Object



46
47
48
# File 'lib/money_s3/parsers/castky.rb', line 46

def dph_1
  at 'DPH_1'
end

#dph_1_attributesObject



50
51
52
# File 'lib/money_s3/parsers/castky.rb', line 50

def dph_1_attributes
  attributes_at 'DPH_1'
end

#dph_2Object



54
55
56
# File 'lib/money_s3/parsers/castky.rb', line 54

def dph_2
  at 'DPH_2'
end

#dph_2_attributesObject



58
59
60
# File 'lib/money_s3/parsers/castky.rb', line 58

def dph_2_attributes
  attributes_at 'DPH_2'
end

#dph_3Object



62
63
64
# File 'lib/money_s3/parsers/castky.rb', line 62

def dph_3
  at 'DPH_3'
end

#dph_3_attributesObject



66
67
68
# File 'lib/money_s3/parsers/castky.rb', line 66

def dph_3_attributes
  attributes_at 'DPH_3'
end

#pouz_zb_0Object



86
87
88
# File 'lib/money_s3/parsers/castky.rb', line 86

def pouz_zb_0
  at 'PouzZb_0'
end

#pouz_zb_0_attributesObject



90
91
92
# File 'lib/money_s3/parsers/castky.rb', line 90

def pouz_zb_0_attributes
  attributes_at 'PouzZb_0'
end

#pouz_zb_1Object



94
95
96
# File 'lib/money_s3/parsers/castky.rb', line 94

def pouz_zb_1
  at 'PouzZb_1'
end

#pouz_zb_1_attributesObject



98
99
100
# File 'lib/money_s3/parsers/castky.rb', line 98

def pouz_zb_1_attributes
  attributes_at 'PouzZb_1'
end

#pouz_zb_2Object



102
103
104
# File 'lib/money_s3/parsers/castky.rb', line 102

def pouz_zb_2
  at 'PouzZb_2'
end

#pouz_zb_2_attributesObject



106
107
108
# File 'lib/money_s3/parsers/castky.rb', line 106

def pouz_zb_2_attributes
  attributes_at 'PouzZb_2'
end

#pouz_zb_3Object



110
111
112
# File 'lib/money_s3/parsers/castky.rb', line 110

def pouz_zb_3
  at 'PouzZb_3'
end

#pouz_zb_3_attributesObject



114
115
116
# File 'lib/money_s3/parsers/castky.rb', line 114

def pouz_zb_3_attributes
  attributes_at 'PouzZb_3'
end

#pouz_zboziObject



78
79
80
# File 'lib/money_s3/parsers/castky.rb', line 78

def pouz_zbozi
  at 'PouzZbozi'
end

#pouz_zbozi_attributesObject



82
83
84
# File 'lib/money_s3/parsers/castky.rb', line 82

def pouz_zbozi_attributes
  attributes_at 'PouzZbozi'
end

#to_hObject



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_zctObject



118
119
120
# File 'lib/money_s3/parsers/castky.rb', line 118

def urc_cerp_zct
  at 'UrcCerpZct'
end

#urc_cerp_zct_attributesObject



122
123
124
# File 'lib/money_s3/parsers/castky.rb', line 122

def urc_cerp_zct_attributes
  attributes_at 'UrcCerpZct'
end

#zaklad_0Object



14
15
16
# File 'lib/money_s3/parsers/castky.rb', line 14

def zaklad_0
  at 'Zaklad_0'
end

#zaklad_0_attributesObject



18
19
20
# File 'lib/money_s3/parsers/castky.rb', line 18

def zaklad_0_attributes
  attributes_at 'Zaklad_0'
end

#zaklad_1Object



22
23
24
# File 'lib/money_s3/parsers/castky.rb', line 22

def zaklad_1
  at 'Zaklad_1'
end

#zaklad_1_attributesObject



26
27
28
# File 'lib/money_s3/parsers/castky.rb', line 26

def zaklad_1_attributes
  attributes_at 'Zaklad_1'
end

#zaklad_2Object



30
31
32
# File 'lib/money_s3/parsers/castky.rb', line 30

def zaklad_2
  at 'Zaklad_2'
end

#zaklad_2_attributesObject



34
35
36
# File 'lib/money_s3/parsers/castky.rb', line 34

def zaklad_2_attributes
  attributes_at 'Zaklad_2'
end

#zaklad_3Object



38
39
40
# File 'lib/money_s3/parsers/castky.rb', line 38

def zaklad_3
  at 'Zaklad_3'
end

#zaklad_3_attributesObject



42
43
44
# File 'lib/money_s3/parsers/castky.rb', line 42

def zaklad_3_attributes
  attributes_at 'Zaklad_3'
end