class MoneyS3::Parsers::DodavkaType

Public Instance Methods

cena() click to toggle source
# File lib/money_s3/parsers/dodavka_type.rb, line 30
def cena
  at 'Cena'
end
cena_attributes() click to toggle source
# File lib/money_s3/parsers/dodavka_type.rb, line 34
def cena_attributes
  attributes_at 'Cena'
end
dat_exp() click to toggle source
# File lib/money_s3/parsers/dodavka_type.rb, line 14
def dat_exp
  at 'DatExp'
end
dat_exp_attributes() click to toggle source
# File lib/money_s3/parsers/dodavka_type.rb, line 18
def dat_exp_attributes
  attributes_at 'DatExp'
end
oznaceni() click to toggle source
# File lib/money_s3/parsers/dodavka_type.rb, line 6
def oznaceni
  at 'Oznaceni'
end
oznaceni_attributes() click to toggle source
# File lib/money_s3/parsers/dodavka_type.rb, line 10
def oznaceni_attributes
  attributes_at 'Oznaceni'
end
pocet_mj() click to toggle source
# File lib/money_s3/parsers/dodavka_type.rb, line 22
def pocet_mj
  at 'PocetMJ'
end
pocet_mj_attributes() click to toggle source
# File lib/money_s3/parsers/dodavka_type.rb, line 26
def pocet_mj_attributes
  attributes_at 'PocetMJ'
end
to_h() click to toggle source
# File lib/money_s3/parsers/dodavka_type.rb, line 38
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:oznaceni] = oznaceni if has? 'Oznaceni'
  hash[:oznaceni_attributes] = oznaceni_attributes if has? 'Oznaceni'
  hash[:dat_exp] = dat_exp if has? 'DatExp'
  hash[:dat_exp_attributes] = dat_exp_attributes if has? 'DatExp'
  hash[:pocet_mj] = pocet_mj if has? 'PocetMJ'
  hash[:pocet_mj_attributes] = pocet_mj_attributes if has? 'PocetMJ'
  hash[:cena] = cena if has? 'Cena'
  hash[:cena_attributes] = cena_attributes if has? 'Cena'

  hash
end