Class: MoneyS3::Parsers::MzPriplatek
- Inherits:
-
Object
- Object
- MoneyS3::Parsers::MzPriplatek
- Includes:
- ParserCore::BaseParser
- Defined in:
- lib/money_s3/parsers/mz_priplatek.rb
Instance Method Summary collapse
Instance Method Details
#prip_hodin ⇒ Object
10 11 12 |
# File 'lib/money_s3/parsers/mz_priplatek.rb', line 10 def prip_hodin at 'PripHodin' end |
#prip_hodin_attributes ⇒ Object
14 15 16 |
# File 'lib/money_s3/parsers/mz_priplatek.rb', line 14 def prip_hodin_attributes attributes_at 'PripHodin' end |
#to_h ⇒ Object
18 19 20 21 22 23 24 25 26 27 |
# File 'lib/money_s3/parsers/mz_priplatek.rb', line 18 def to_h hash = {} hash[:attributes] = attributes hash[:typ_priplatku] = typ_priplatku.to_h if has? 'TypPriplatku' hash[:prip_hodin] = prip_hodin if has? 'PripHodin' hash[:prip_hodin_attributes] = prip_hodin_attributes if has? 'PripHodin' hash end |
#typ_priplatku ⇒ Object
6 7 8 |
# File 'lib/money_s3/parsers/mz_priplatek.rb', line 6 def typ_priplatku submodel_at(TypPriplatkuType, 'TypPriplatku') end |