Class: MoneyS3::Parsers::PredkontaceDEType

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

Instance Method Summary collapse

Instance Method Details

#cleneniObject



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

def cleneni
  at 'Cleneni'
end

#cleneni_attributesObject



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

def cleneni_attributes
  attributes_at 'Cleneni'
end

#poh_zakObject



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

def poh_zak
  at 'PohZak'
end

#poh_zak_attributesObject



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

def poh_zak_attributes
  attributes_at 'PohZak'
end

#popisObject



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

def popis
  at 'Popis'
end

#popis_attributesObject



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

def popis_attributes
  attributes_at 'Popis'
end

#poznObject



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

def pozn
  at 'Pozn'
end

#pozn_attributesObject



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

def pozn_attributes
  attributes_at 'Pozn'
end

#to_hObject



62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# File 'lib/money_s3/parsers/predkontace_de_type.rb', line 62

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

  hash[:zkrat] = zkrat if has? 'Zkrat'
  hash[:zkrat_attributes] = zkrat_attributes if has? 'Zkrat'
  hash[:popis] = popis if has? 'Popis'
  hash[:popis_attributes] = popis_attributes if has? 'Popis'
  hash[:typ] = typ if has? 'Typ'
  hash[:typ_attributes] = typ_attributes if has? 'Typ'
  hash[:poh_zak] = poh_zak if has? 'PohZak'
  hash[:poh_zak_attributes] = poh_zak_attributes if has? 'PohZak'
  hash[:zauct_dph] = zauct_dph if has? 'ZauctDPH'
  hash[:zauct_dph_attributes] = zauct_dph_attributes if has? 'ZauctDPH'
  hash[:cleneni] = cleneni if has? 'Cleneni'
  hash[:cleneni_attributes] = cleneni_attributes if has? 'Cleneni'
  hash[:pozn] = pozn if has? 'Pozn'
  hash[:pozn_attributes] = pozn_attributes if has? 'Pozn'

  hash
end

#typObject



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

def typ
  at 'Typ'
end

#typ_attributesObject



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

def typ_attributes
  attributes_at 'Typ'
end

#zauct_dphObject



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

def zauct_dph
  at 'ZauctDPH'
end

#zauct_dph_attributesObject



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

def zauct_dph_attributes
  attributes_at 'ZauctDPH'
end

#zkratObject



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

def zkrat
  at 'Zkrat'
end

#zkrat_attributesObject



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

def zkrat_attributes
  attributes_at 'Zkrat'
end