Class: MoneyS3::Parsers::SeznamNabPrij
- Inherits:
-
Object
- Object
- MoneyS3::Parsers::SeznamNabPrij
- Includes:
- ParserCore::BaseParser
- Defined in:
- lib/money_s3/parsers/seznam_nab_prij.rb
Instance Method Summary collapse
Instance Method Details
#nab_prij ⇒ Object
6 7 8 |
# File 'lib/money_s3/parsers/seznam_nab_prij.rb', line 6 def nab_prij array_of_at(NabPrij, ['NabPrij']) end |
#to_h ⇒ Object
10 11 12 13 14 15 16 17 |
# File 'lib/money_s3/parsers/seznam_nab_prij.rb', line 10 def to_h hash = {} hash[:attributes] = attributes hash[:nab_prij] = nab_prij.map(&:to_h) if has? 'NabPrij' hash end |