class MoneyS3::Parsers::EkategorieZasobaType

Public Instance Methods

changed() click to toggle source
# File lib/money_s3/parsers/ekategorie_zasoba_type.rb, line 38
def changed
  at 'Changed'
end
changed_attributes() click to toggle source
# File lib/money_s3/parsers/ekategorie_zasoba_type.rb, line 42
def changed_attributes
  attributes_at 'Changed'
end
descript() click to toggle source
# File lib/money_s3/parsers/ekategorie_zasoba_type.rb, line 22
def descript
  at 'Descript'
end
descript_attributes() click to toggle source
# File lib/money_s3/parsers/ekategorie_zasoba_type.rb, line 26
def descript_attributes
  attributes_at 'Descript'
end
id() click to toggle source
# File lib/money_s3/parsers/ekategorie_zasoba_type.rb, line 6
def id
  at 'ID'
end
id_attributes() click to toggle source
# File lib/money_s3/parsers/ekategorie_zasoba_type.rb, line 10
def id_attributes
  attributes_at 'ID'
end
name() click to toggle source
# File lib/money_s3/parsers/ekategorie_zasoba_type.rb, line 14
def name
  at 'Name'
end
name_attributes() click to toggle source
# File lib/money_s3/parsers/ekategorie_zasoba_type.rb, line 18
def name_attributes
  attributes_at 'Name'
end
parent() click to toggle source
# File lib/money_s3/parsers/ekategorie_zasoba_type.rb, line 54
def parent
  submodel_at(EkategorieZasobaType, 'Parent')
end
poznamka() click to toggle source
# File lib/money_s3/parsers/ekategorie_zasoba_type.rb, line 30
def poznamka
  at 'Poznamka'
end
poznamka_attributes() click to toggle source
# File lib/money_s3/parsers/ekategorie_zasoba_type.rb, line 34
def poznamka_attributes
  attributes_at 'Poznamka'
end
public() click to toggle source
# File lib/money_s3/parsers/ekategorie_zasoba_type.rb, line 46
def public
  at 'Public'
end
public_attributes() click to toggle source
# File lib/money_s3/parsers/ekategorie_zasoba_type.rb, line 50
def public_attributes
  attributes_at 'Public'
end
to_h() click to toggle source
# File lib/money_s3/parsers/ekategorie_zasoba_type.rb, line 58
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:id] = id if has? 'ID'
  hash[:id_attributes] = id_attributes if has? 'ID'
  hash[:name] = name if has? 'Name'
  hash[:name_attributes] = name_attributes if has? 'Name'
  hash[:descript] = descript if has? 'Descript'
  hash[:descript_attributes] = descript_attributes if has? 'Descript'
  hash[:poznamka] = poznamka if has? 'Poznamka'
  hash[:poznamka_attributes] = poznamka_attributes if has? 'Poznamka'
  hash[:changed] = changed if has? 'Changed'
  hash[:changed_attributes] = changed_attributes if has? 'Changed'
  hash[:public] = public if has? 'Public'
  hash[:public_attributes] = public_attributes if has? 'Public'
  hash[:parent] = parent.to_h if has? 'Parent'

  hash
end