Class: MoneyS3::Parsers::VyrobniCisloType
- Inherits:
-
Object
- Object
- MoneyS3::Parsers::VyrobniCisloType
- Includes:
- ParserCore::BaseParser
- Defined in:
- lib/money_s3/parsers/vyrobni_cislo_type.rb
Instance Method Summary collapse
- #carovy_kod ⇒ Object
- #carovy_kod_attributes ⇒ Object
- #datum_vyrob ⇒ Object
- #datum_vyrob_attributes ⇒ Object
- #to_h ⇒ Object
- #vyrobni_cis ⇒ Object
- #vyrobni_cis_attributes ⇒ Object
Instance Method Details
#carovy_kod ⇒ Object
22 23 24 |
# File 'lib/money_s3/parsers/vyrobni_cislo_type.rb', line 22 def carovy_kod at 'CarovyKod' end |
#carovy_kod_attributes ⇒ Object
26 27 28 |
# File 'lib/money_s3/parsers/vyrobni_cislo_type.rb', line 26 def carovy_kod_attributes attributes_at 'CarovyKod' end |
#datum_vyrob ⇒ Object
14 15 16 |
# File 'lib/money_s3/parsers/vyrobni_cislo_type.rb', line 14 def datum_vyrob at 'DatumVyrob' end |
#datum_vyrob_attributes ⇒ Object
18 19 20 |
# File 'lib/money_s3/parsers/vyrobni_cislo_type.rb', line 18 def datum_vyrob_attributes attributes_at 'DatumVyrob' end |
#to_h ⇒ Object
30 31 32 33 34 35 36 37 38 39 40 41 42 |
# File 'lib/money_s3/parsers/vyrobni_cislo_type.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[:datum_vyrob] = datum_vyrob if has? 'DatumVyrob' hash[:datum_vyrob_attributes] = datum_vyrob_attributes if has? 'DatumVyrob' hash[:carovy_kod] = carovy_kod if has? 'CarovyKod' hash[:carovy_kod_attributes] = carovy_kod_attributes if has? 'CarovyKod' hash end |
#vyrobni_cis ⇒ Object
6 7 8 |
# File 'lib/money_s3/parsers/vyrobni_cislo_type.rb', line 6 def vyrobni_cis at 'VyrobniCis' end |
#vyrobni_cis_attributes ⇒ Object
10 11 12 |
# File 'lib/money_s3/parsers/vyrobni_cislo_type.rb', line 10 def vyrobni_cis_attributes attributes_at 'VyrobniCis' end |