Class: MoneyS3::Parsers::UhradaPduhrada

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

Instance Method Summary collapse

Instance Method Details

#cinnostObject



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

def cinnost
  at 'Cinnost'
end

#cinnost_attributesObject



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

def cinnost_attributes
  attributes_at 'Cinnost'
end

#dphssObject



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

def dphss
  at 'DPHSS'
end

#dphss_attributesObject



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

def dphss_attributes
  attributes_at 'DPHSS'
end

#dphzsObject



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

def dphzs
  at 'DPHZS'
end

#dphzs_attributesObject



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

def dphzs_attributes
  attributes_at 'DPHZS'
end

#kontaceObject



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

def kontace
  at 'Kontace'
end

#kontace_attributesObject



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

def kontace_attributes
  attributes_at 'Kontace'
end

#poradiObject



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

def poradi
  at 'Poradi'
end

#poradi_attributesObject



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

def poradi_attributes
  attributes_at 'Poradi'
end

#strediskoObject



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

def stredisko
  at 'Stredisko'
end

#stredisko_attributesObject



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

def stredisko_attributes
  attributes_at 'Stredisko'
end

#to_hObject



94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
# File 'lib/money_s3/parsers/uhrada_pduhrada.rb', line 94

def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:poradi] = poradi if has? 'Poradi'
  hash[:poradi_attributes] = poradi_attributes if has? 'Poradi'
  hash[:kontace] = kontace if has? 'Kontace'
  hash[:kontace_attributes] = kontace_attributes if has? 'Kontace'
  hash[:stredisko] = stredisko if has? 'Stredisko'
  hash[:stredisko_attributes] = stredisko_attributes if has? 'Stredisko'
  hash[:zakazka] = zakazka if has? 'Zakazka'
  hash[:zakazka_attributes] = zakazka_attributes if has? 'Zakazka'
  hash[:cinnost] = cinnost if has? 'Cinnost'
  hash[:cinnost_attributes] = cinnost_attributes if has? 'Cinnost'
  hash[:zaklad] = zaklad if has? 'Zaklad'
  hash[:zaklad_attributes] = zaklad_attributes if has? 'Zaklad'
  hash[:dphzs] = dphzs if has? 'DPHZS'
  hash[:dphzs_attributes] = dphzs_attributes if has? 'DPHZS'
  hash[:dphss] = dphss if has? 'DPHSS'
  hash[:dphss_attributes] = dphss_attributes if has? 'DPHSS'
  hash[:wl_zaklady] = wl_zaklady if has? 'WLZaklady'
  hash[:wl_zaklady_attributes] = wl_zaklady_attributes if has? 'WLZaklady'
  hash[:wldph1] = wldph1 if has? 'WLDPH1'
  hash[:wldph1_attributes] = wldph1_attributes if has? 'WLDPH1'
  hash[:wldph2] = wldph2 if has? 'WLDPH2'
  hash[:wldph2_attributes] = wldph2_attributes if has? 'WLDPH2'

  hash
end

#wl_zakladyObject



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

def wl_zaklady
  at 'WLZaklady'
end

#wl_zaklady_attributesObject



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

def wl_zaklady_attributes
  attributes_at 'WLZaklady'
end

#wldph1Object



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

def wldph1
  at 'WLDPH1'
end

#wldph1_attributesObject



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

def wldph1_attributes
  attributes_at 'WLDPH1'
end

#wldph2Object



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

def wldph2
  at 'WLDPH2'
end

#wldph2_attributesObject



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

def wldph2_attributes
  attributes_at 'WLDPH2'
end

#zakazkaObject



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

def zakazka
  at 'Zakazka'
end

#zakazka_attributesObject



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

def zakazka_attributes
  attributes_at 'Zakazka'
end

#zakladObject



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

def zaklad
  at 'Zaklad'
end

#zaklad_attributesObject



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

def zaklad_attributes
  attributes_at 'Zaklad'
end