Class: MoneyS3::Parsers::PrepravceType
- Inherits:
-
Object
- Object
- MoneyS3::Parsers::PrepravceType
- Includes:
- ParserCore::BaseParser
- Defined in:
- lib/money_s3/parsers/prepravce_type.rb
Instance Method Summary collapse
- #kod_odesil ⇒ Object
- #kod_odesil_attributes ⇒ Object
- #nazev ⇒ Object
- #nazev_attributes ⇒ Object
- #poznamka ⇒ Object
- #poznamka_attributes ⇒ Object
- #to_h ⇒ Object
- #zkrat ⇒ Object
- #zkrat_attributes ⇒ Object
Instance Method Details
#kod_odesil ⇒ Object
30 31 32 |
# File 'lib/money_s3/parsers/prepravce_type.rb', line 30 def kod_odesil at 'KodOdesil' end |
#kod_odesil_attributes ⇒ Object
34 35 36 |
# File 'lib/money_s3/parsers/prepravce_type.rb', line 34 def kod_odesil_attributes attributes_at 'KodOdesil' end |
#nazev ⇒ Object
14 15 16 |
# File 'lib/money_s3/parsers/prepravce_type.rb', line 14 def nazev at 'Nazev' end |
#nazev_attributes ⇒ Object
18 19 20 |
# File 'lib/money_s3/parsers/prepravce_type.rb', line 18 def nazev_attributes attributes_at 'Nazev' end |
#poznamka ⇒ Object
22 23 24 |
# File 'lib/money_s3/parsers/prepravce_type.rb', line 22 def poznamka at 'Poznamka' end |
#poznamka_attributes ⇒ Object
26 27 28 |
# File 'lib/money_s3/parsers/prepravce_type.rb', line 26 def poznamka_attributes attributes_at 'Poznamka' end |
#to_h ⇒ Object
38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 |
# File 'lib/money_s3/parsers/prepravce_type.rb', line 38 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[:poznamka] = poznamka if has? 'Poznamka' hash[:poznamka_attributes] = poznamka_attributes if has? 'Poznamka' hash[:kod_odesil] = kod_odesil if has? 'KodOdesil' hash[:kod_odesil_attributes] = kod_odesil_attributes if has? 'KodOdesil' hash end |
#zkrat ⇒ Object
6 7 8 |
# File 'lib/money_s3/parsers/prepravce_type.rb', line 6 def zkrat at 'Zkrat' end |
#zkrat_attributes ⇒ Object
10 11 12 |
# File 'lib/money_s3/parsers/prepravce_type.rb', line 10 def zkrat_attributes attributes_at 'Zkrat' end |