Class: MoneyS3::Parsers::NepPlatidloType

Inherits:
Object
  • Object
show all
Includes:
ParserCore::BaseParser
Defined in:
lib/money_s3/parsers/nep_platidlo_type.rb

Instance Method Summary collapse

Instance Method Details

#kodObject



6
7
8
# File 'lib/money_s3/parsers/nep_platidlo_type.rb', line 6

def kod
  at 'Kod'
end

#kod_attributesObject



10
11
12
# File 'lib/money_s3/parsers/nep_platidlo_type.rb', line 10

def kod_attributes
  attributes_at 'Kod'
end

#popisObject



14
15
16
# File 'lib/money_s3/parsers/nep_platidlo_type.rb', line 14

def popis
  at 'Popis'
end

#popis_attributesObject



18
19
20
# File 'lib/money_s3/parsers/nep_platidlo_type.rb', line 18

def popis_attributes
  attributes_at 'Popis'
end

#to_hObject



30
31
32
33
34
35
36
37
38
39
40
41
42
# File 'lib/money_s3/parsers/nep_platidlo_type.rb', line 30

def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:kod] = kod if has? 'Kod'
  hash[:kod_attributes] = kod_attributes if has? 'Kod'
  hash[:popis] = popis if has? 'Popis'
  hash[:popis_attributes] = popis_attributes if has? 'Popis'
  hash[:var_symb] = var_symb if has? 'VarSymb'
  hash[:var_symb_attributes] = var_symb_attributes if has? 'VarSymb'

  hash
end

#var_symbObject



22
23
24
# File 'lib/money_s3/parsers/nep_platidlo_type.rb', line 22

def var_symb
  at 'VarSymb'
end

#var_symb_attributesObject



26
27
28
# File 'lib/money_s3/parsers/nep_platidlo_type.rb', line 26

def var_symb_attributes
  attributes_at 'VarSymb'
end