Class: MoneyS3::Parsers::PracPomer
- Inherits:
-
Object
- Object
- MoneyS3::Parsers::PracPomer
- Includes:
- ParserCore::BaseParser
- Defined in:
- lib/money_s3/parsers/prac_pomer.rb
Instance Method Summary collapse
- #eldp_kod ⇒ Object
- #eldp_kod_attributes ⇒ Object
- #popis ⇒ Object
- #popis_attributes ⇒ Object
- #pozn ⇒ Object
- #pozn_attributes ⇒ Object
- #to_h ⇒ Object
- #zkrat ⇒ Object
- #zkrat_attributes ⇒ Object
Instance Method Details
#eldp_kod ⇒ Object
22 23 24 |
# File 'lib/money_s3/parsers/prac_pomer.rb', line 22 def eldp_kod at 'ELDPKod' end |
#eldp_kod_attributes ⇒ Object
26 27 28 |
# File 'lib/money_s3/parsers/prac_pomer.rb', line 26 def eldp_kod_attributes attributes_at 'ELDPKod' end |
#popis ⇒ Object
14 15 16 |
# File 'lib/money_s3/parsers/prac_pomer.rb', line 14 def popis at 'Popis' end |
#popis_attributes ⇒ Object
18 19 20 |
# File 'lib/money_s3/parsers/prac_pomer.rb', line 18 def popis_attributes attributes_at 'Popis' end |
#pozn ⇒ Object
30 31 32 |
# File 'lib/money_s3/parsers/prac_pomer.rb', line 30 def pozn at 'Pozn' end |
#pozn_attributes ⇒ Object
34 35 36 |
# File 'lib/money_s3/parsers/prac_pomer.rb', line 34 def pozn_attributes attributes_at 'Pozn' end |
#to_h ⇒ Object
38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 |
# File 'lib/money_s3/parsers/prac_pomer.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[:popis] = popis if has? 'Popis' hash[:popis_attributes] = popis_attributes if has? 'Popis' hash[:eldp_kod] = eldp_kod if has? 'ELDPKod' hash[:eldp_kod_attributes] = eldp_kod_attributes if has? 'ELDPKod' 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/prac_pomer.rb', line 6 def zkrat at 'Zkrat' end |
#zkrat_attributes ⇒ Object
10 11 12 |
# File 'lib/money_s3/parsers/prac_pomer.rb', line 10 def zkrat_attributes attributes_at 'Zkrat' end |