class MoneyS3::Parsers::ParametrType

Public Instance Methods

druh() click to toggle source
# File lib/money_s3/parsers/parametr_type.rb, line 22
def druh
  at 'Druh'
end
druh_attributes() click to toggle source
# File lib/money_s3/parsers/parametr_type.rb, line 26
def druh_attributes
  attributes_at 'Druh'
end
hodnoty() click to toggle source
# File lib/money_s3/parsers/parametr_type.rb, line 54
def hodnoty
  at 'Hodnoty'
end
hodnoty_attributes() click to toggle source
# File lib/money_s3/parsers/parametr_type.rb, line 58
def hodnoty_attributes
  attributes_at 'Hodnoty'
end
id() click to toggle source
# File lib/money_s3/parsers/parametr_type.rb, line 6
def id
  at 'ID'
end
id_attributes() click to toggle source
# File lib/money_s3/parsers/parametr_type.rb, line 10
def id_attributes
  attributes_at 'ID'
end
mj() click to toggle source
# File lib/money_s3/parsers/parametr_type.rb, line 38
def mj
  at 'MJ'
end
mj_attributes() click to toggle source
# File lib/money_s3/parsers/parametr_type.rb, line 42
def mj_attributes
  attributes_at 'MJ'
end
nazev() click to toggle source
# File lib/money_s3/parsers/parametr_type.rb, line 14
def nazev
  at 'Nazev'
end
nazev_attributes() click to toggle source
# File lib/money_s3/parsers/parametr_type.rb, line 18
def nazev_attributes
  attributes_at 'Nazev'
end
to_h() click to toggle source
# File lib/money_s3/parsers/parametr_type.rb, line 62
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:id] = id if has? 'ID'
  hash[:id_attributes] = id_attributes if has? 'ID'
  hash[:nazev] = nazev if has? 'Nazev'
  hash[:nazev_attributes] = nazev_attributes if has? 'Nazev'
  hash[:druh] = druh if has? 'Druh'
  hash[:druh_attributes] = druh_attributes if has? 'Druh'
  hash[:typ] = typ if has? 'Typ'
  hash[:typ_attributes] = typ_attributes if has? 'Typ'
  hash[:mj] = mj if has? 'MJ'
  hash[:mj_attributes] = mj_attributes if has? 'MJ'
  hash[:uziv_code] = uziv_code if has? 'UzivCode'
  hash[:uziv_code_attributes] = uziv_code_attributes if has? 'UzivCode'
  hash[:hodnoty] = hodnoty if has? 'Hodnoty'
  hash[:hodnoty_attributes] = hodnoty_attributes if has? 'Hodnoty'

  hash
end
typ() click to toggle source
# File lib/money_s3/parsers/parametr_type.rb, line 30
def typ
  at 'Typ'
end
typ_attributes() click to toggle source
# File lib/money_s3/parsers/parametr_type.rb, line 34
def typ_attributes
  attributes_at 'Typ'
end
uziv_code() click to toggle source
# File lib/money_s3/parsers/parametr_type.rb, line 46
def uziv_code
  at 'UzivCode'
end
uziv_code_attributes() click to toggle source
# File lib/money_s3/parsers/parametr_type.rb, line 50
def uziv_code_attributes
  attributes_at 'UzivCode'
end