Class: MoneyS3::Parsers::VyrobniCislo
- Inherits:
-
Object
- Object
- MoneyS3::Parsers::VyrobniCislo
- Includes:
- ParserCore::BaseParser
- Defined in:
- lib/money_s3/parsers/vyrobni_cislo.rb
Instance Method Summary collapse
- #car_kod ⇒ Object
- #car_kod_attributes ⇒ Object
- #dat_vyr ⇒ Object
- #dat_vyr_attributes ⇒ Object
- #to_h ⇒ Object
- #vyrobni_cis ⇒ Object
- #vyrobni_cis_attributes ⇒ Object
Instance Method Details
#car_kod ⇒ Object
22 23 24 |
# File 'lib/money_s3/parsers/vyrobni_cislo.rb', line 22 def car_kod at 'CarKod' end |
#car_kod_attributes ⇒ Object
26 27 28 |
# File 'lib/money_s3/parsers/vyrobni_cislo.rb', line 26 def car_kod_attributes attributes_at 'CarKod' end |
#dat_vyr ⇒ Object
14 15 16 |
# File 'lib/money_s3/parsers/vyrobni_cislo.rb', line 14 def dat_vyr at 'DatVyr' end |
#dat_vyr_attributes ⇒ Object
18 19 20 |
# File 'lib/money_s3/parsers/vyrobni_cislo.rb', line 18 def dat_vyr_attributes attributes_at 'DatVyr' end |
#to_h ⇒ Object
30 31 32 33 34 35 36 37 38 39 40 41 42 |
# File 'lib/money_s3/parsers/vyrobni_cislo.rb', line 30 def to_h hash = {} hash[:attributes] = attributes hash[:vyrobni_cis] = vyrobni_cis if has? 'VyrobniCis' hash[:vyrobni_cis_attributes] = vyrobni_cis_attributes if has? 'VyrobniCis' hash[:dat_vyr] = dat_vyr if has? 'DatVyr' hash[:dat_vyr_attributes] = dat_vyr_attributes if has? 'DatVyr' hash[:car_kod] = car_kod if has? 'CarKod' hash[:car_kod_attributes] = car_kod_attributes if has? 'CarKod' hash end |
#vyrobni_cis ⇒ Object
6 7 8 |
# File 'lib/money_s3/parsers/vyrobni_cislo.rb', line 6 def vyrobni_cis at 'VyrobniCis' end |
#vyrobni_cis_attributes ⇒ Object
10 11 12 |
# File 'lib/money_s3/parsers/vyrobni_cislo.rb', line 10 def vyrobni_cis_attributes attributes_at 'VyrobniCis' end |