Class: MoneyS3::Parsers::ZauctovaniDPHDetype
- Inherits:
-
Object
- Object
- MoneyS3::Parsers::ZauctovaniDPHDetype
- Includes:
- ParserCore::BaseParser
- Defined in:
- lib/money_s3/parsers/zauctovani_dph_detype.rb
Instance Method Summary collapse
- #poh_dss ⇒ Object
- #poh_dss_attributes ⇒ Object
- #poh_dzs ⇒ Object
- #poh_dzs_attributes ⇒ Object
- #popis ⇒ Object
- #popis_attributes ⇒ Object
- #pozn ⇒ Object
- #pozn_attributes ⇒ Object
- #seznam_obdobi_dph ⇒ Object
- #to_h ⇒ Object
- #typ ⇒ Object
- #typ_attributes ⇒ Object
- #zkrat ⇒ Object
- #zkrat_attributes ⇒ Object
Instance Method Details
#poh_dss ⇒ Object
30 31 32 |
# File 'lib/money_s3/parsers/zauctovani_dph_detype.rb', line 30 def poh_dss at 'PohDSS' end |
#poh_dss_attributes ⇒ Object
34 35 36 |
# File 'lib/money_s3/parsers/zauctovani_dph_detype.rb', line 34 def poh_dss_attributes attributes_at 'PohDSS' end |
#poh_dzs ⇒ Object
38 39 40 |
# File 'lib/money_s3/parsers/zauctovani_dph_detype.rb', line 38 def poh_dzs at 'PohDZS' end |
#poh_dzs_attributes ⇒ Object
42 43 44 |
# File 'lib/money_s3/parsers/zauctovani_dph_detype.rb', line 42 def poh_dzs_attributes attributes_at 'PohDZS' end |
#popis ⇒ Object
22 23 24 |
# File 'lib/money_s3/parsers/zauctovani_dph_detype.rb', line 22 def popis at 'Popis' end |
#popis_attributes ⇒ Object
26 27 28 |
# File 'lib/money_s3/parsers/zauctovani_dph_detype.rb', line 26 def popis_attributes attributes_at 'Popis' end |
#pozn ⇒ Object
46 47 48 |
# File 'lib/money_s3/parsers/zauctovani_dph_detype.rb', line 46 def pozn at 'Pozn' end |
#pozn_attributes ⇒ Object
50 51 52 |
# File 'lib/money_s3/parsers/zauctovani_dph_detype.rb', line 50 def pozn_attributes attributes_at 'Pozn' end |
#seznam_obdobi_dph ⇒ Object
54 55 56 |
# File 'lib/money_s3/parsers/zauctovani_dph_detype.rb', line 54 def seznam_obdobi_dph array_of_at(ObdobiDPH2, ['SeznamObdobiDPH', 'ObdobiDPH']) end |
#to_h ⇒ Object
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 |
# File 'lib/money_s3/parsers/zauctovani_dph_detype.rb', line 58 def to_h hash = {} hash[:attributes] = attributes hash[:zkrat] = zkrat if has? 'Zkrat' hash[:zkrat_attributes] = zkrat_attributes if has? 'Zkrat' hash[:typ] = typ if has? 'Typ' hash[:typ_attributes] = typ_attributes if has? 'Typ' hash[:popis] = popis if has? 'Popis' hash[:popis_attributes] = popis_attributes if has? 'Popis' hash[:poh_dss] = poh_dss if has? 'PohDSS' hash[:poh_dss_attributes] = poh_dss_attributes if has? 'PohDSS' hash[:poh_dzs] = poh_dzs if has? 'PohDZS' hash[:poh_dzs_attributes] = poh_dzs_attributes if has? 'PohDZS' hash[:pozn] = pozn if has? 'Pozn' hash[:pozn_attributes] = pozn_attributes if has? 'Pozn' hash[:seznam_obdobi_dph] = seznam_obdobi_dph.map(&:to_h) if has? 'SeznamObdobiDPH' hash end |
#typ ⇒ Object
14 15 16 |
# File 'lib/money_s3/parsers/zauctovani_dph_detype.rb', line 14 def typ at 'Typ' end |
#typ_attributes ⇒ Object
18 19 20 |
# File 'lib/money_s3/parsers/zauctovani_dph_detype.rb', line 18 def typ_attributes attributes_at 'Typ' end |
#zkrat ⇒ Object
6 7 8 |
# File 'lib/money_s3/parsers/zauctovani_dph_detype.rb', line 6 def zkrat at 'Zkrat' end |
#zkrat_attributes ⇒ Object
10 11 12 |
# File 'lib/money_s3/parsers/zauctovani_dph_detype.rb', line 10 def zkrat_attributes attributes_at 'Zkrat' end |