Class: MoneyS3::Parsers::Eshop3

Inherits:
Object
  • Object
show all
Includes:
ParserCore::BaseParser
Defined in:
lib/money_s3/parsers/eshop3.rb

Instance Method Summary collapse

Instance Method Details

#in_changedObject



14
15
16
# File 'lib/money_s3/parsers/eshop3.rb', line 14

def in_changed
  at 'IN_Changed'
end

#in_changed_attributesObject



18
19
20
# File 'lib/money_s3/parsers/eshop3.rb', line 18

def in_changed_attributes
  attributes_at 'IN_Changed'
end

#in_exportObject



6
7
8
# File 'lib/money_s3/parsers/eshop3.rb', line 6

def in_export
  at 'IN_Export'
end

#in_export_attributesObject



10
11
12
# File 'lib/money_s3/parsers/eshop3.rb', line 10

def in_export_attributes
  attributes_at 'IN_Export'
end

#in_obj_cisObject



22
23
24
# File 'lib/money_s3/parsers/eshop3.rb', line 22

def in_obj_cis
  at 'IN_ObjCis'
end

#in_obj_cis_attributesObject



26
27
28
# File 'lib/money_s3/parsers/eshop3.rb', line 26

def in_obj_cis_attributes
  attributes_at 'IN_ObjCis'
end

#in_poznamkObject



62
63
64
# File 'lib/money_s3/parsers/eshop3.rb', line 62

def in_poznamk
  at 'IN_Poznamk'
end

#in_poznamk_attributesObject



66
67
68
# File 'lib/money_s3/parsers/eshop3.rb', line 66

def in_poznamk_attributes
  attributes_at 'IN_Poznamk'
end

#in_req_storObject



38
39
40
# File 'lib/money_s3/parsers/eshop3.rb', line 38

def in_req_stor
  at 'IN_ReqStor'
end

#in_req_stor_attributesObject



42
43
44
# File 'lib/money_s3/parsers/eshop3.rb', line 42

def in_req_stor_attributes
  attributes_at 'IN_ReqStor'
end

#in_shop_idObject



54
55
56
# File 'lib/money_s3/parsers/eshop3.rb', line 54

def in_shop_id
  at 'IN_ShopID'
end

#in_shop_id_attributesObject



58
59
60
# File 'lib/money_s3/parsers/eshop3.rb', line 58

def in_shop_id_attributes
  attributes_at 'IN_ShopID'
end

#in_stavObject



30
31
32
# File 'lib/money_s3/parsers/eshop3.rb', line 30

def in_stav
  at 'IN_Stav'
end

#in_stav_attributesObject



34
35
36
# File 'lib/money_s3/parsers/eshop3.rb', line 34

def in_stav_attributes
  attributes_at 'IN_Stav'
end

#in_yes_storObject



46
47
48
# File 'lib/money_s3/parsers/eshop3.rb', line 46

def in_yes_stor
  at 'IN_YesStor'
end

#in_yes_stor_attributesObject



50
51
52
# File 'lib/money_s3/parsers/eshop3.rb', line 50

def in_yes_stor_attributes
  attributes_at 'IN_YesStor'
end

#to_hObject



70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# File 'lib/money_s3/parsers/eshop3.rb', line 70

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_obj_cis] = in_obj_cis if has? 'IN_ObjCis'
  hash[:in_obj_cis_attributes] = in_obj_cis_attributes if has? 'IN_ObjCis'
  hash[:in_stav] = in_stav if has? 'IN_Stav'
  hash[:in_stav_attributes] = in_stav_attributes if has? 'IN_Stav'
  hash[:in_req_stor] = in_req_stor if has? 'IN_ReqStor'
  hash[:in_req_stor_attributes] = in_req_stor_attributes if has? 'IN_ReqStor'
  hash[:in_yes_stor] = in_yes_stor if has? 'IN_YesStor'
  hash[:in_yes_stor_attributes] = in_yes_stor_attributes if has? 'IN_YesStor'
  hash[:in_shop_id] = in_shop_id if has? 'IN_ShopID'
  hash[:in_shop_id_attributes] = in_shop_id_attributes if has? 'IN_ShopID'
  hash[:in_poznamk] = in_poznamk if has? 'IN_Poznamk'
  hash[:in_poznamk_attributes] = in_poznamk_attributes if has? 'IN_Poznamk'

  hash
end