class MoneyS3::Parsers::VysledekOdesl

Public Instance Methods

chyba() click to toggle source
# File lib/money_s3/parsers/vysledek_odesl.rb, line 6
def chyba
  at 'Chyba'
end
chyba_attributes() click to toggle source
# File lib/money_s3/parsers/vysledek_odesl.rb, line 10
def chyba_attributes
  attributes_at 'Chyba'
end
to_h() click to toggle source
# File lib/money_s3/parsers/vysledek_odesl.rb, line 18
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:chyba] = chyba if has? 'Chyba'
  hash[:chyba_attributes] = chyba_attributes if has? 'Chyba'
  hash[:varovani] = varovani if has? 'Varovani'

  hash
end
varovani() click to toggle source
# File lib/money_s3/parsers/vysledek_odesl.rb, line 14
def varovani
  array_of_at(String, ['Varovani'])
end