Class: MoneyS3::Parsers::KurzType
- Inherits:
-
Object
- Object
- MoneyS3::Parsers::KurzType
- Includes:
- ParserCore::BaseParser
- Defined in:
- lib/money_s3/parsers/kurz_type.rb
Instance Method Summary collapse
- #banka ⇒ Object
- #banka_attributes ⇒ Object
- #datum ⇒ Object
- #datum_attributes ⇒ Object
- #devizy_nakup ⇒ Object
- #devizy_nakup_attributes ⇒ Object
- #devizy_prodej ⇒ Object
- #devizy_prodej_attributes ⇒ Object
- #kod ⇒ Object
- #kod_attributes ⇒ Object
- #mnozstvi ⇒ Object
- #mnozstvi_attributes ⇒ Object
- #nb_stred ⇒ Object
- #nb_stred_attributes ⇒ Object
- #to_h ⇒ Object
- #valuty_nakup ⇒ Object
- #valuty_nakup_attributes ⇒ Object
- #valuty_prodej ⇒ Object
- #valuty_prodej_attributes ⇒ Object
- #zeme ⇒ Object
- #zeme_attributes ⇒ Object
Instance Method Details
#banka ⇒ Object
6 7 8 |
# File 'lib/money_s3/parsers/kurz_type.rb', line 6 def banka at 'Banka' end |
#banka_attributes ⇒ Object
10 11 12 |
# File 'lib/money_s3/parsers/kurz_type.rb', line 10 def banka_attributes attributes_at 'Banka' end |
#datum ⇒ Object
14 15 16 |
# File 'lib/money_s3/parsers/kurz_type.rb', line 14 def datum at 'Datum' end |
#datum_attributes ⇒ Object
18 19 20 |
# File 'lib/money_s3/parsers/kurz_type.rb', line 18 def datum_attributes attributes_at 'Datum' end |
#devizy_nakup ⇒ Object
54 55 56 |
# File 'lib/money_s3/parsers/kurz_type.rb', line 54 def devizy_nakup at 'DevizyNakup' end |
#devizy_nakup_attributes ⇒ Object
58 59 60 |
# File 'lib/money_s3/parsers/kurz_type.rb', line 58 def devizy_nakup_attributes attributes_at 'DevizyNakup' end |
#devizy_prodej ⇒ Object
62 63 64 |
# File 'lib/money_s3/parsers/kurz_type.rb', line 62 def devizy_prodej at 'DevizyProdej' end |
#devizy_prodej_attributes ⇒ Object
66 67 68 |
# File 'lib/money_s3/parsers/kurz_type.rb', line 66 def devizy_prodej_attributes attributes_at 'DevizyProdej' end |
#kod ⇒ Object
22 23 24 |
# File 'lib/money_s3/parsers/kurz_type.rb', line 22 def kod at 'Kod' end |
#kod_attributes ⇒ Object
26 27 28 |
# File 'lib/money_s3/parsers/kurz_type.rb', line 26 def kod_attributes attributes_at 'Kod' end |
#mnozstvi ⇒ Object
38 39 40 |
# File 'lib/money_s3/parsers/kurz_type.rb', line 38 def mnozstvi at 'Mnozstvi' end |
#mnozstvi_attributes ⇒ Object
42 43 44 |
# File 'lib/money_s3/parsers/kurz_type.rb', line 42 def mnozstvi_attributes attributes_at 'Mnozstvi' end |
#nb_stred ⇒ Object
46 47 48 |
# File 'lib/money_s3/parsers/kurz_type.rb', line 46 def nb_stred at 'NBStred' end |
#nb_stred_attributes ⇒ Object
50 51 52 |
# File 'lib/money_s3/parsers/kurz_type.rb', line 50 def nb_stred_attributes attributes_at 'NBStred' end |
#to_h ⇒ Object
86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 |
# File 'lib/money_s3/parsers/kurz_type.rb', line 86 def to_h hash = {} hash[:attributes] = attributes hash[:banka] = banka if has? 'Banka' hash[:banka_attributes] = banka_attributes if has? 'Banka' hash[:datum] = datum if has? 'Datum' hash[:datum_attributes] = datum_attributes if has? 'Datum' hash[:kod] = kod if has? 'Kod' hash[:kod_attributes] = kod_attributes if has? 'Kod' hash[:zeme] = zeme if has? 'Zeme' hash[:zeme_attributes] = zeme_attributes if has? 'Zeme' hash[:mnozstvi] = mnozstvi if has? 'Mnozstvi' hash[:mnozstvi_attributes] = mnozstvi_attributes if has? 'Mnozstvi' hash[:nb_stred] = nb_stred if has? 'NBStred' hash[:nb_stred_attributes] = nb_stred_attributes if has? 'NBStred' hash[:devizy_nakup] = devizy_nakup if has? 'DevizyNakup' hash[:devizy_nakup_attributes] = devizy_nakup_attributes if has? 'DevizyNakup' hash[:devizy_prodej] = devizy_prodej if has? 'DevizyProdej' hash[:devizy_prodej_attributes] = devizy_prodej_attributes if has? 'DevizyProdej' hash[:valuty_nakup] = valuty_nakup if has? 'ValutyNakup' hash[:valuty_nakup_attributes] = valuty_nakup_attributes if has? 'ValutyNakup' hash[:valuty_prodej] = valuty_prodej if has? 'ValutyProdej' hash[:valuty_prodej_attributes] = valuty_prodej_attributes if has? 'ValutyProdej' hash end |
#valuty_nakup ⇒ Object
70 71 72 |
# File 'lib/money_s3/parsers/kurz_type.rb', line 70 def valuty_nakup at 'ValutyNakup' end |
#valuty_nakup_attributes ⇒ Object
74 75 76 |
# File 'lib/money_s3/parsers/kurz_type.rb', line 74 def valuty_nakup_attributes attributes_at 'ValutyNakup' end |
#valuty_prodej ⇒ Object
78 79 80 |
# File 'lib/money_s3/parsers/kurz_type.rb', line 78 def valuty_prodej at 'ValutyProdej' end |
#valuty_prodej_attributes ⇒ Object
82 83 84 |
# File 'lib/money_s3/parsers/kurz_type.rb', line 82 def valuty_prodej_attributes attributes_at 'ValutyProdej' end |
#zeme ⇒ Object
30 31 32 |
# File 'lib/money_s3/parsers/kurz_type.rb', line 30 def zeme at 'Zeme' end |
#zeme_attributes ⇒ Object
34 35 36 |
# File 'lib/money_s3/parsers/kurz_type.rb', line 34 def zeme_attributes attributes_at 'Zeme' end |