Class: MoneyS3::Parsers::EshopZasobaType
- Inherits:
-
Object
- Object
- MoneyS3::Parsers::EshopZasobaType
- Includes:
- ParserCore::BaseParser
- Defined in:
- lib/money_s3/parsers/eshop_zasoba_type.rb
Instance Method Summary collapse
- #cis_karty ⇒ Object
- #cis_karty_attributes ⇒ Object
- #cis_skladu ⇒ Object
- #cis_skladu_attributes ⇒ Object
- #e_skup ⇒ Object
- #in_changed ⇒ Object
- #in_changed_attributes ⇒ Object
- #in_deleted ⇒ Object
- #in_deleted_attributes ⇒ Object
- #in_export ⇒ Object
- #in_export_attributes ⇒ Object
- #to_h ⇒ Object
Instance Method Details
#cis_karty ⇒ Object
30 31 32 |
# File 'lib/money_s3/parsers/eshop_zasoba_type.rb', line 30 def cis_karty at 'CisKarty' end |
#cis_karty_attributes ⇒ Object
34 35 36 |
# File 'lib/money_s3/parsers/eshop_zasoba_type.rb', line 34 def cis_karty_attributes attributes_at 'CisKarty' end |
#cis_skladu ⇒ Object
38 39 40 |
# File 'lib/money_s3/parsers/eshop_zasoba_type.rb', line 38 def cis_skladu at 'CisSkladu' end |
#cis_skladu_attributes ⇒ Object
42 43 44 |
# File 'lib/money_s3/parsers/eshop_zasoba_type.rb', line 42 def cis_skladu_attributes attributes_at 'CisSkladu' end |
#e_skup ⇒ Object
46 47 48 |
# File 'lib/money_s3/parsers/eshop_zasoba_type.rb', line 46 def e_skup array_of_at(EkategorieZasobaType, ['eSkup']) end |
#in_changed ⇒ Object
14 15 16 |
# File 'lib/money_s3/parsers/eshop_zasoba_type.rb', line 14 def in_changed at 'IN_Changed' end |
#in_changed_attributes ⇒ Object
18 19 20 |
# File 'lib/money_s3/parsers/eshop_zasoba_type.rb', line 18 def in_changed_attributes attributes_at 'IN_Changed' end |
#in_deleted ⇒ Object
22 23 24 |
# File 'lib/money_s3/parsers/eshop_zasoba_type.rb', line 22 def in_deleted at 'IN_Deleted' end |
#in_deleted_attributes ⇒ Object
26 27 28 |
# File 'lib/money_s3/parsers/eshop_zasoba_type.rb', line 26 def in_deleted_attributes attributes_at 'IN_Deleted' end |
#in_export ⇒ Object
6 7 8 |
# File 'lib/money_s3/parsers/eshop_zasoba_type.rb', line 6 def in_export at 'IN_Export' end |
#in_export_attributes ⇒ Object
10 11 12 |
# File 'lib/money_s3/parsers/eshop_zasoba_type.rb', line 10 def in_export_attributes attributes_at 'IN_Export' end |
#to_h ⇒ Object
50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 |
# File 'lib/money_s3/parsers/eshop_zasoba_type.rb', line 50 def to_h hash = {} hash[:attributes] = attributes hash[:in_export] = in_export if has? 'IN_Export' hash[:in_export_attributes] = in_export_attributes if has? 'IN_Export' hash[:in_changed] = in_changed if has? 'IN_Changed' hash[:in_changed_attributes] = in_changed_attributes if has? 'IN_Changed' hash[:in_deleted] = in_deleted if has? 'IN_Deleted' hash[:in_deleted_attributes] = in_deleted_attributes if has? 'IN_Deleted' hash[:cis_karty] = cis_karty if has? 'CisKarty' hash[:cis_karty_attributes] = cis_karty_attributes if has? 'CisKarty' hash[:cis_skladu] = cis_skladu if has? 'CisSkladu' hash[:cis_skladu_attributes] = cis_skladu_attributes if has? 'CisSkladu' hash[:e_skup] = e_skup.map(&:to_h) if has? 'eSkup' hash end |