class MoneyS3::Parsers::PracPomer

Public Instance Methods

eldp_kod() click to toggle source
# File lib/money_s3/parsers/prac_pomer.rb, line 22
def eldp_kod
  at 'ELDPKod'
end
eldp_kod_attributes() click to toggle source
# File lib/money_s3/parsers/prac_pomer.rb, line 26
def eldp_kod_attributes
  attributes_at 'ELDPKod'
end
popis() click to toggle source
# File lib/money_s3/parsers/prac_pomer.rb, line 14
def popis
  at 'Popis'
end
popis_attributes() click to toggle source
# File lib/money_s3/parsers/prac_pomer.rb, line 18
def popis_attributes
  attributes_at 'Popis'
end
pozn() click to toggle source
# File lib/money_s3/parsers/prac_pomer.rb, line 30
def pozn
  at 'Pozn'
end
pozn_attributes() click to toggle source
# File lib/money_s3/parsers/prac_pomer.rb, line 34
def pozn_attributes
  attributes_at 'Pozn'
end
to_h() click to toggle source
# File lib/money_s3/parsers/prac_pomer.rb, line 38
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[:eldp_kod] = eldp_kod if has? 'ELDPKod'
  hash[:eldp_kod_attributes] = eldp_kod_attributes if has? 'ELDPKod'
  hash[:pozn] = pozn if has? 'Pozn'
  hash[:pozn_attributes] = pozn_attributes if has? 'Pozn'

  hash
end
zkrat() click to toggle source
# File lib/money_s3/parsers/prac_pomer.rb, line 6
def zkrat
  at 'Zkrat'
end
zkrat_attributes() click to toggle source
# File lib/money_s3/parsers/prac_pomer.rb, line 10
def zkrat_attributes
  attributes_at 'Zkrat'
end