Class: MoneyS3::Parsers::VysledekOdesl
- Inherits:
-
Object
- Object
- MoneyS3::Parsers::VysledekOdesl
- Includes:
- ParserCore::BaseParser
- Defined in:
- lib/money_s3/parsers/vysledek_odesl.rb
Instance Method Summary collapse
Instance Method Details
#chyba ⇒ Object
6 7 8 |
# File 'lib/money_s3/parsers/vysledek_odesl.rb', line 6 def chyba at 'Chyba' end |
#chyba_attributes ⇒ Object
10 11 12 |
# File 'lib/money_s3/parsers/vysledek_odesl.rb', line 10 def chyba_attributes attributes_at 'Chyba' end |
#to_h ⇒ Object
18 19 20 21 22 23 24 25 26 27 |
# 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 ⇒ Object
14 15 16 |
# File 'lib/money_s3/parsers/vysledek_odesl.rb', line 14 def varovani array_of_at(String, ['Varovani']) end |