Class: MoneyS3::Parsers::ObdobiDPH

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

Instance Method Summary collapse

Instance Method Details

#datum_odObject



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

def datum_od
  at 'DatumOd'
end

#datum_od_attributesObject



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

def datum_od_attributes
  attributes_at 'DatumOd'
end

#to_hObject



110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
# File 'lib/money_s3/parsers/obdobi_dph.rb', line 110

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

  hash[:datum_od] = datum_od if has? 'DatumOd'
  hash[:datum_od_attributes] = datum_od_attributes if has? 'DatumOd'
  hash[:uc_md_1] = uc_md_1 if has? 'UcMD_1'
  hash[:uc_md_1_attributes] = uc_md_1_attributes if has? 'UcMD_1'
  hash[:uc_d_1] = uc_d_1 if has? 'UcD_1'
  hash[:uc_d_1_attributes] = uc_d_1_attributes if has? 'UcD_1'
  hash[:uc_md_2] = uc_md_2 if has? 'UcMD_2'
  hash[:uc_md_2_attributes] = uc_md_2_attributes if has? 'UcMD_2'
  hash[:uc_d_2] = uc_d_2 if has? 'UcD_2'
  hash[:uc_d_2_attributes] = uc_d_2_attributes if has? 'UcD_2'
  hash[:uc_md_3] = uc_md_3 if has? 'UcMD_3'
  hash[:uc_md_3_attributes] = uc_md_3_attributes if has? 'UcMD_3'
  hash[:uc_d_3] = uc_d_3 if has? 'UcD_3'
  hash[:uc_d_3_attributes] = uc_d_3_attributes if has? 'UcD_3'
  hash[:uc_md_4] = uc_md_4 if has? 'UcMD_4'
  hash[:uc_md_4_attributes] = uc_md_4_attributes if has? 'UcMD_4'
  hash[:uc_d_4] = uc_d_4 if has? 'UcD_4'
  hash[:uc_d_4_attributes] = uc_d_4_attributes if has? 'UcD_4'
  hash[:uc_md_5] = uc_md_5 if has? 'UcMD_5'
  hash[:uc_md_5_attributes] = uc_md_5_attributes if has? 'UcMD_5'
  hash[:uc_d_5] = uc_d_5 if has? 'UcD_5'
  hash[:uc_d_5_attributes] = uc_d_5_attributes if has? 'UcD_5'
  hash[:uc_md_6] = uc_md_6 if has? 'UcMD_6'
  hash[:uc_md_6_attributes] = uc_md_6_attributes if has? 'UcMD_6'
  hash[:uc_d_6] = uc_d_6 if has? 'UcD_6'
  hash[:uc_d_6_attributes] = uc_d_6_attributes if has? 'UcD_6'

  hash
end

#uc_d_1Object



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

def uc_d_1
  at 'UcD_1'
end

#uc_d_1_attributesObject



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

def uc_d_1_attributes
  attributes_at 'UcD_1'
end

#uc_d_2Object



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

def uc_d_2
  at 'UcD_2'
end

#uc_d_2_attributesObject



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

def uc_d_2_attributes
  attributes_at 'UcD_2'
end

#uc_d_3Object



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

def uc_d_3
  at 'UcD_3'
end

#uc_d_3_attributesObject



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

def uc_d_3_attributes
  attributes_at 'UcD_3'
end

#uc_d_4Object



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

def uc_d_4
  at 'UcD_4'
end

#uc_d_4_attributesObject



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

def uc_d_4_attributes
  attributes_at 'UcD_4'
end

#uc_d_5Object



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

def uc_d_5
  at 'UcD_5'
end

#uc_d_5_attributesObject



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

def uc_d_5_attributes
  attributes_at 'UcD_5'
end

#uc_d_6Object



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

def uc_d_6
  at 'UcD_6'
end

#uc_d_6_attributesObject



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

def uc_d_6_attributes
  attributes_at 'UcD_6'
end

#uc_md_1Object



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

def uc_md_1
  at 'UcMD_1'
end

#uc_md_1_attributesObject



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

def uc_md_1_attributes
  attributes_at 'UcMD_1'
end

#uc_md_2Object



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

def uc_md_2
  at 'UcMD_2'
end

#uc_md_2_attributesObject



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

def uc_md_2_attributes
  attributes_at 'UcMD_2'
end

#uc_md_3Object



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

def uc_md_3
  at 'UcMD_3'
end

#uc_md_3_attributesObject



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

def uc_md_3_attributes
  attributes_at 'UcMD_3'
end

#uc_md_4Object



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

def uc_md_4
  at 'UcMD_4'
end

#uc_md_4_attributesObject



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

def uc_md_4_attributes
  attributes_at 'UcMD_4'
end

#uc_md_5Object



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

def uc_md_5
  at 'UcMD_5'
end

#uc_md_5_attributesObject



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

def uc_md_5_attributes
  attributes_at 'UcMD_5'
end

#uc_md_6Object



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

def uc_md_6
  at 'UcMD_6'
end

#uc_md_6_attributesObject



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

def uc_md_6_attributes
  attributes_at 'UcMD_6'
end