class MoneyS3::Parsers::ObdobiDPH2

Public Instance Methods

datum_od() click to toggle source
# File lib/money_s3/parsers/obdobi_dph2.rb, line 6
def datum_od
  at 'DatumOd'
end
datum_od_attributes() click to toggle source
# File lib/money_s3/parsers/obdobi_dph2.rb, line 10
def datum_od_attributes
  attributes_at 'DatumOd'
end
poh_d_1() click to toggle source
# File lib/money_s3/parsers/obdobi_dph2.rb, line 14
def poh_d_1
  at 'PohD_1'
end
poh_d_1_attributes() click to toggle source
# File lib/money_s3/parsers/obdobi_dph2.rb, line 18
def poh_d_1_attributes
  attributes_at 'PohD_1'
end
poh_d_2() click to toggle source
# File lib/money_s3/parsers/obdobi_dph2.rb, line 22
def poh_d_2
  at 'PohD_2'
end
poh_d_2_attributes() click to toggle source
# File lib/money_s3/parsers/obdobi_dph2.rb, line 26
def poh_d_2_attributes
  attributes_at 'PohD_2'
end
poh_d_3() click to toggle source
# File lib/money_s3/parsers/obdobi_dph2.rb, line 30
def poh_d_3
  at 'PohD_3'
end
poh_d_3_attributes() click to toggle source
# File lib/money_s3/parsers/obdobi_dph2.rb, line 34
def poh_d_3_attributes
  attributes_at 'PohD_3'
end
poh_d_4() click to toggle source
# File lib/money_s3/parsers/obdobi_dph2.rb, line 38
def poh_d_4
  at 'PohD_4'
end
poh_d_4_attributes() click to toggle source
# File lib/money_s3/parsers/obdobi_dph2.rb, line 42
def poh_d_4_attributes
  attributes_at 'PohD_4'
end
poh_d_5() click to toggle source
# File lib/money_s3/parsers/obdobi_dph2.rb, line 46
def poh_d_5
  at 'PohD_5'
end
poh_d_5_attributes() click to toggle source
# File lib/money_s3/parsers/obdobi_dph2.rb, line 50
def poh_d_5_attributes
  attributes_at 'PohD_5'
end
poh_d_6() click to toggle source
# File lib/money_s3/parsers/obdobi_dph2.rb, line 54
def poh_d_6
  at 'PohD_6'
end
poh_d_6_attributes() click to toggle source
# File lib/money_s3/parsers/obdobi_dph2.rb, line 58
def poh_d_6_attributes
  attributes_at 'PohD_6'
end
to_h() click to toggle source
# File lib/money_s3/parsers/obdobi_dph2.rb, line 62
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[:poh_d_1] = poh_d_1 if has? 'PohD_1'
  hash[:poh_d_1_attributes] = poh_d_1_attributes if has? 'PohD_1'
  hash[:poh_d_2] = poh_d_2 if has? 'PohD_2'
  hash[:poh_d_2_attributes] = poh_d_2_attributes if has? 'PohD_2'
  hash[:poh_d_3] = poh_d_3 if has? 'PohD_3'
  hash[:poh_d_3_attributes] = poh_d_3_attributes if has? 'PohD_3'
  hash[:poh_d_4] = poh_d_4 if has? 'PohD_4'
  hash[:poh_d_4_attributes] = poh_d_4_attributes if has? 'PohD_4'
  hash[:poh_d_5] = poh_d_5 if has? 'PohD_5'
  hash[:poh_d_5_attributes] = poh_d_5_attributes if has? 'PohD_5'
  hash[:poh_d_6] = poh_d_6 if has? 'PohD_6'
  hash[:poh_d_6_attributes] = poh_d_6_attributes if has? 'PohD_6'

  hash
end