Class: MoneyS3::Parsers::ZauctovaniDPHType
- Inherits:
-
Object
- Object
- MoneyS3::Parsers::ZauctovaniDPHType
- Includes:
- ParserCore::BaseParser
- Defined in:
- lib/money_s3/parsers/zauctovani_dph_type.rb
Instance Method Summary collapse
- #popis ⇒ Object
- #popis_attributes ⇒ Object
- #pozn ⇒ Object
- #pozn_attributes ⇒ Object
- #sd_uc_d ⇒ Object
- #sd_uc_d_attributes ⇒ Object
- #sd_uc_md ⇒ Object
- #sd_uc_md_attributes ⇒ Object
- #seznam_obdobi_dph ⇒ Object
- #to_h ⇒ Object
- #typ ⇒ Object
- #typ_attributes ⇒ Object
- #zd_uc_d ⇒ Object
- #zd_uc_d_attributes ⇒ Object
- #zd_uc_md ⇒ Object
- #zd_uc_md_attributes ⇒ Object
- #zkrat ⇒ Object
- #zkrat_attributes ⇒ Object
Instance Method Details
#popis ⇒ Object
22 23 24 |
# File 'lib/money_s3/parsers/zauctovani_dph_type.rb', line 22 def popis at 'Popis' end |
#popis_attributes ⇒ Object
26 27 28 |
# File 'lib/money_s3/parsers/zauctovani_dph_type.rb', line 26 def popis_attributes attributes_at 'Popis' end |
#pozn ⇒ Object
62 63 64 |
# File 'lib/money_s3/parsers/zauctovani_dph_type.rb', line 62 def pozn at 'Pozn' end |
#pozn_attributes ⇒ Object
66 67 68 |
# File 'lib/money_s3/parsers/zauctovani_dph_type.rb', line 66 def pozn_attributes attributes_at 'Pozn' end |
#sd_uc_d ⇒ Object
38 39 40 |
# File 'lib/money_s3/parsers/zauctovani_dph_type.rb', line 38 def sd_uc_d at 'SDUcD' end |
#sd_uc_d_attributes ⇒ Object
42 43 44 |
# File 'lib/money_s3/parsers/zauctovani_dph_type.rb', line 42 def sd_uc_d_attributes attributes_at 'SDUcD' end |
#sd_uc_md ⇒ Object
30 31 32 |
# File 'lib/money_s3/parsers/zauctovani_dph_type.rb', line 30 def sd_uc_md at 'SDUcMD' end |
#sd_uc_md_attributes ⇒ Object
34 35 36 |
# File 'lib/money_s3/parsers/zauctovani_dph_type.rb', line 34 def sd_uc_md_attributes attributes_at 'SDUcMD' end |
#seznam_obdobi_dph ⇒ Object
70 71 72 |
# File 'lib/money_s3/parsers/zauctovani_dph_type.rb', line 70 def seznam_obdobi_dph array_of_at(ObdobiDPH, ['SeznamObdobiDPH', 'ObdobiDPH']) end |
#to_h ⇒ Object
74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 |
# File 'lib/money_s3/parsers/zauctovani_dph_type.rb', line 74 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[:sd_uc_md] = sd_uc_md if has? 'SDUcMD' hash[:sd_uc_md_attributes] = sd_uc_md_attributes if has? 'SDUcMD' hash[:sd_uc_d] = sd_uc_d if has? 'SDUcD' hash[:sd_uc_d_attributes] = sd_uc_d_attributes if has? 'SDUcD' hash[:zd_uc_md] = zd_uc_md if has? 'ZDUcMD' hash[:zd_uc_md_attributes] = zd_uc_md_attributes if has? 'ZDUcMD' hash[:zd_uc_d] = zd_uc_d if has? 'ZDUcD' hash[:zd_uc_d_attributes] = zd_uc_d_attributes if has? 'ZDUcD' 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_type.rb', line 14 def typ at 'Typ' end |
#typ_attributes ⇒ Object
18 19 20 |
# File 'lib/money_s3/parsers/zauctovani_dph_type.rb', line 18 def typ_attributes attributes_at 'Typ' end |
#zd_uc_d ⇒ Object
54 55 56 |
# File 'lib/money_s3/parsers/zauctovani_dph_type.rb', line 54 def zd_uc_d at 'ZDUcD' end |
#zd_uc_d_attributes ⇒ Object
58 59 60 |
# File 'lib/money_s3/parsers/zauctovani_dph_type.rb', line 58 def zd_uc_d_attributes attributes_at 'ZDUcD' end |
#zd_uc_md ⇒ Object
46 47 48 |
# File 'lib/money_s3/parsers/zauctovani_dph_type.rb', line 46 def zd_uc_md at 'ZDUcMD' end |
#zd_uc_md_attributes ⇒ Object
50 51 52 |
# File 'lib/money_s3/parsers/zauctovani_dph_type.rb', line 50 def zd_uc_md_attributes attributes_at 'ZDUcMD' end |
#zkrat ⇒ Object
6 7 8 |
# File 'lib/money_s3/parsers/zauctovani_dph_type.rb', line 6 def zkrat at 'Zkrat' end |
#zkrat_attributes ⇒ Object
10 11 12 |
# File 'lib/money_s3/parsers/zauctovani_dph_type.rb', line 10 def zkrat_attributes attributes_at 'Zkrat' end |