Class: MoneyS3::Parsers::AdresaType
- Inherits:
-
Object
- Object
- MoneyS3::Parsers::AdresaType
- Includes:
- ParserCore::BaseParser
- Defined in:
- lib/money_s3/parsers/adresa_type.rb
Instance Method Summary collapse
- #kod_statu ⇒ Object
- #kod_statu_attributes ⇒ Object
- #misto ⇒ Object
- #misto_attributes ⇒ Object
- #psc ⇒ Object
- #psc_attributes ⇒ Object
- #stat ⇒ Object
- #stat_attributes ⇒ Object
- #to_h ⇒ Object
- #ulice ⇒ Object
- #ulice_attributes ⇒ Object
Instance Method Details
#kod_statu ⇒ Object
38 39 40 |
# File 'lib/money_s3/parsers/adresa_type.rb', line 38 def kod_statu at 'KodStatu' end |
#kod_statu_attributes ⇒ Object
42 43 44 |
# File 'lib/money_s3/parsers/adresa_type.rb', line 42 def kod_statu_attributes attributes_at 'KodStatu' end |
#misto ⇒ Object
14 15 16 |
# File 'lib/money_s3/parsers/adresa_type.rb', line 14 def misto at 'Misto' end |
#misto_attributes ⇒ Object
18 19 20 |
# File 'lib/money_s3/parsers/adresa_type.rb', line 18 def misto_attributes attributes_at 'Misto' end |
#psc ⇒ Object
22 23 24 |
# File 'lib/money_s3/parsers/adresa_type.rb', line 22 def psc at 'PSC' end |
#psc_attributes ⇒ Object
26 27 28 |
# File 'lib/money_s3/parsers/adresa_type.rb', line 26 def psc_attributes attributes_at 'PSC' end |
#stat ⇒ Object
30 31 32 |
# File 'lib/money_s3/parsers/adresa_type.rb', line 30 def stat at 'Stat' end |
#stat_attributes ⇒ Object
34 35 36 |
# File 'lib/money_s3/parsers/adresa_type.rb', line 34 def stat_attributes attributes_at 'Stat' end |
#to_h ⇒ Object
46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 |
# File 'lib/money_s3/parsers/adresa_type.rb', line 46 def to_h hash = {} hash[:attributes] = attributes hash[:ulice] = ulice if has? 'Ulice' hash[:ulice_attributes] = ulice_attributes if has? 'Ulice' hash[:misto] = misto if has? 'Misto' hash[:misto_attributes] = misto_attributes if has? 'Misto' hash[:psc] = psc if has? 'PSC' hash[:psc_attributes] = psc_attributes if has? 'PSC' hash[:stat] = stat if has? 'Stat' hash[:stat_attributes] = stat_attributes if has? 'Stat' hash[:kod_statu] = kod_statu if has? 'KodStatu' hash[:kod_statu_attributes] = kod_statu_attributes if has? 'KodStatu' hash end |
#ulice ⇒ Object
6 7 8 |
# File 'lib/money_s3/parsers/adresa_type.rb', line 6 def ulice at 'Ulice' end |
#ulice_attributes ⇒ Object
10 11 12 |
# File 'lib/money_s3/parsers/adresa_type.rb', line 10 def ulice_attributes attributes_at 'Ulice' end |