Class: MoneyS3::Parsers::CinnostType
- Inherits:
-
Object
- Object
- MoneyS3::Parsers::CinnostType
- Includes:
- ParserCore::BaseParser
- Defined in:
- lib/money_s3/parsers/cinnost_type.rb
Direct Known Subclasses
Instance Method Summary collapse
- #nazev ⇒ Object
- #nazev_attributes ⇒ Object
- #pozn ⇒ Object
- #pozn_attributes ⇒ Object
- #to_h ⇒ Object
- #zkrat ⇒ Object
- #zkrat_attributes ⇒ Object
Instance Method Details
#nazev ⇒ Object
14 15 16 |
# File 'lib/money_s3/parsers/cinnost_type.rb', line 14 def nazev at 'Nazev' end |
#nazev_attributes ⇒ Object
18 19 20 |
# File 'lib/money_s3/parsers/cinnost_type.rb', line 18 def nazev_attributes attributes_at 'Nazev' end |
#pozn ⇒ Object
22 23 24 |
# File 'lib/money_s3/parsers/cinnost_type.rb', line 22 def pozn at 'Pozn' end |
#pozn_attributes ⇒ Object
26 27 28 |
# File 'lib/money_s3/parsers/cinnost_type.rb', line 26 def pozn_attributes attributes_at 'Pozn' end |
#to_h ⇒ Object
30 31 32 33 34 35 36 37 38 39 40 41 42 |
# File 'lib/money_s3/parsers/cinnost_type.rb', line 30 def to_h hash = {} hash[:attributes] = attributes hash[:zkrat] = zkrat if has? 'Zkrat' hash[:zkrat_attributes] = zkrat_attributes if has? 'Zkrat' hash[:nazev] = nazev if has? 'Nazev' hash[:nazev_attributes] = nazev_attributes if has? 'Nazev' hash[:pozn] = pozn if has? 'Pozn' hash[:pozn_attributes] = pozn_attributes if has? 'Pozn' hash end |
#zkrat ⇒ Object
6 7 8 |
# File 'lib/money_s3/parsers/cinnost_type.rb', line 6 def zkrat at 'Zkrat' end |
#zkrat_attributes ⇒ Object
10 11 12 |
# File 'lib/money_s3/parsers/cinnost_type.rb', line 10 def zkrat_attributes attributes_at 'Zkrat' end |