Class: MoneyS3::Parsers::UctyPohybuType

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

Instance Method Summary collapse

Instance Method Details

#to_hObject



70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# File 'lib/money_s3/parsers/ucty_pohybu_type.rb', line 70

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

  hash[:uc_prodejk] = uc_prodejk if has? 'UcProdejk'
  hash[:uc_prodejk_attributes] = uc_prodejk_attributes if has? 'UcProdejk'
  hash[:uc_prijemk] = uc_prijemk if has? 'UcPrijemk'
  hash[:uc_prijemk_attributes] = uc_prijemk_attributes if has? 'UcPrijemk'
  hash[:uc_vydejky] = uc_vydejky if has? 'UcVydejky'
  hash[:uc_vydejky_attributes] = uc_vydejky_attributes if has? 'UcVydejky'
  hash[:uc_vyrobky] = uc_vyrobky if has? 'UcVyrobky'
  hash[:uc_vyrobky_attributes] = uc_vyrobky_attributes if has? 'UcVyrobky'
  hash[:uc_v_dod_lst] = uc_v_dod_lst if has? 'UcVDodLst'
  hash[:uc_v_dod_lst_attributes] = uc_v_dod_lst_attributes if has? 'UcVDodLst'
  hash[:uc_p_dod_lst] = uc_p_dod_lst if has? 'UcPDodLst'
  hash[:uc_p_dod_lst_attributes] = uc_p_dod_lst_attributes if has? 'UcPDodLst'
  hash[:uc_manko] = uc_manko if has? 'UcManko'
  hash[:uc_manko_attributes] = uc_manko_attributes if has? 'UcManko'
  hash[:uc_preb] = uc_preb if has? 'UcPreb'
  hash[:uc_preb_attributes] = uc_preb_attributes if has? 'UcPreb'

  hash
end

#uc_mankoObject



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

def uc_manko
  at 'UcManko'
end

#uc_manko_attributesObject



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

def uc_manko_attributes
  attributes_at 'UcManko'
end

#uc_p_dod_lstObject



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

def uc_p_dod_lst
  at 'UcPDodLst'
end

#uc_p_dod_lst_attributesObject



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

def uc_p_dod_lst_attributes
  attributes_at 'UcPDodLst'
end

#uc_prebObject



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

def uc_preb
  at 'UcPreb'
end

#uc_preb_attributesObject



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

def uc_preb_attributes
  attributes_at 'UcPreb'
end

#uc_prijemkObject



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

def uc_prijemk
  at 'UcPrijemk'
end

#uc_prijemk_attributesObject



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

def uc_prijemk_attributes
  attributes_at 'UcPrijemk'
end

#uc_prodejkObject



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

def uc_prodejk
  at 'UcProdejk'
end

#uc_prodejk_attributesObject



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

def uc_prodejk_attributes
  attributes_at 'UcProdejk'
end

#uc_v_dod_lstObject



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

def uc_v_dod_lst
  at 'UcVDodLst'
end

#uc_v_dod_lst_attributesObject



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

def uc_v_dod_lst_attributes
  attributes_at 'UcVDodLst'
end

#uc_vydejkyObject



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

def uc_vydejky
  at 'UcVydejky'
end

#uc_vydejky_attributesObject



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

def uc_vydejky_attributes
  attributes_at 'UcVydejky'
end

#uc_vyrobkyObject



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

def uc_vyrobky
  at 'UcVyrobky'
end

#uc_vyrobky_attributesObject



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

def uc_vyrobky_attributes
  attributes_at 'UcVyrobky'
end