Class: MoneyS3::Parsers::CenovaHladinaType
- Inherits:
-
Object
- Object
- MoneyS3::Parsers::CenovaHladinaType
- Includes:
- ParserCore::BaseParser
- Defined in:
- lib/money_s3/parsers/cenova_hladina_type.rb
Direct Known Subclasses
Instance Method Summary collapse
- #ceny ⇒ Object
- #ceny_attributes ⇒ Object
- #definice_ceny ⇒ Object
- #mena ⇒ Object
- #nazev ⇒ Object
- #nazev_attributes ⇒ Object
- #pozn ⇒ Object
- #pozn_attributes ⇒ Object
- #skup ⇒ Object
- #skup_attributes ⇒ Object
- #to_h ⇒ Object
- #zkrat ⇒ Object
- #zkrat_attributes ⇒ Object
Instance Method Details
#ceny ⇒ Object
42 43 44 |
# File 'lib/money_s3/parsers/cenova_hladina_type.rb', line 42 def ceny at 'Ceny' end |
#ceny_attributes ⇒ Object
46 47 48 |
# File 'lib/money_s3/parsers/cenova_hladina_type.rb', line 46 def ceny_attributes attributes_at 'Ceny' end |
#definice_ceny ⇒ Object
50 51 52 |
# File 'lib/money_s3/parsers/cenova_hladina_type.rb', line 50 def definice_ceny submodel_at(DefiniceCeny, 'definiceCeny') end |
#mena ⇒ Object
30 31 32 |
# File 'lib/money_s3/parsers/cenova_hladina_type.rb', line 30 def mena submodel_at(MenaType, 'Mena') end |
#nazev ⇒ Object
14 15 16 |
# File 'lib/money_s3/parsers/cenova_hladina_type.rb', line 14 def nazev at 'Nazev' end |
#nazev_attributes ⇒ Object
18 19 20 |
# File 'lib/money_s3/parsers/cenova_hladina_type.rb', line 18 def nazev_attributes attributes_at 'Nazev' end |
#pozn ⇒ Object
22 23 24 |
# File 'lib/money_s3/parsers/cenova_hladina_type.rb', line 22 def pozn at 'Pozn' end |
#pozn_attributes ⇒ Object
26 27 28 |
# File 'lib/money_s3/parsers/cenova_hladina_type.rb', line 26 def pozn_attributes attributes_at 'Pozn' end |
#skup ⇒ Object
34 35 36 |
# File 'lib/money_s3/parsers/cenova_hladina_type.rb', line 34 def skup at 'Skup' end |
#skup_attributes ⇒ Object
38 39 40 |
# File 'lib/money_s3/parsers/cenova_hladina_type.rb', line 38 def skup_attributes attributes_at 'Skup' end |
#to_h ⇒ Object
54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 |
# File 'lib/money_s3/parsers/cenova_hladina_type.rb', line 54 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[:mena] = mena.to_h if has? 'Mena' hash[:skup] = skup if has? 'Skup' hash[:skup_attributes] = skup_attributes if has? 'Skup' hash[:ceny] = ceny if has? 'Ceny' hash[:ceny_attributes] = ceny_attributes if has? 'Ceny' hash[:definice_ceny] = definice_ceny.to_h if has? 'definiceCeny' hash end |
#zkrat ⇒ Object
6 7 8 |
# File 'lib/money_s3/parsers/cenova_hladina_type.rb', line 6 def zkrat at 'Zkrat' end |
#zkrat_attributes ⇒ Object
10 11 12 |
# File 'lib/money_s3/parsers/cenova_hladina_type.rb', line 10 def zkrat_attributes attributes_at 'Zkrat' end |