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