datafoodconsortium-connector-v1 1.4.0.pre.beta7 → 1.4.0.pre.beta8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/datafoodconsortium/connector_v1/enterprise.rb +6 -6
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1f3dc8d8e788369bcb383eb521b387576c634557d46ced15bc7299b4ae243c29
|
|
4
|
+
data.tar.gz: 3125ba532932ce1b6445c0b1598184216cbb5622eefcc5680deecfeba7d11d8d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b296a0a5109a95ce2410bf300927458f20a0c94a9b07c59940ffe70b05ffbd860683685b8457fe08499fce0ee46404734873c50f8784e9f2520ed58465021e9c
|
|
7
|
+
data.tar.gz: a867b8cd30176f5a1c66d1b16630ed077659434c7f736d4569de6339144cb12c72f45000604dd169a070f4b8e3138536e2bcdcfca62a474d2a46311abae51c15
|
|
@@ -65,8 +65,8 @@ class DataFoodConsortium::ConnectorV1::Enterprise < DataFoodConsortium::Connecto
|
|
|
65
65
|
# @return [IPerson]
|
|
66
66
|
attr_accessor :mainContact
|
|
67
67
|
|
|
68
|
-
# @return [
|
|
69
|
-
attr_accessor :
|
|
68
|
+
# @return [IPerson]
|
|
69
|
+
attr_accessor :affiliates
|
|
70
70
|
|
|
71
71
|
# @param semanticId [String]
|
|
72
72
|
# @param name [String]
|
|
@@ -78,14 +78,14 @@ class DataFoodConsortium::ConnectorV1::Enterprise < DataFoodConsortium::Connecto
|
|
|
78
78
|
# @param suppliedProducts [ISuppliedProduct]
|
|
79
79
|
# @param technicalProducts [ITechnicalProduct]
|
|
80
80
|
# @param mainContact [IPerson]
|
|
81
|
-
# @param
|
|
81
|
+
# @param affiliates [IPerson]
|
|
82
82
|
# @param localizations [IAddress]
|
|
83
83
|
# @param phoneNumbers [IPhoneNumber]
|
|
84
84
|
# @param emails [String]
|
|
85
85
|
# @param websites [String]
|
|
86
86
|
# @param socialMedias [ISocialMedia]
|
|
87
87
|
# @param logo [String]
|
|
88
|
-
def initialize(semanticId, name: nil, description: nil, vatNumber: nil, customerCategories: [], catalogs: [], catalogItems: [], suppliedProducts: [], technicalProducts: [], mainContact: nil,
|
|
88
|
+
def initialize(semanticId, name: nil, description: nil, vatNumber: nil, customerCategories: [], catalogs: [], catalogItems: [], suppliedProducts: [], technicalProducts: [], mainContact: nil, affiliates: [], localizations: [], phoneNumbers: [], emails: [], websites: [], socialMedias: [], logo: nil)
|
|
89
89
|
super(semanticId, localizations: localizations, phoneNumbers: phoneNumbers, emails: emails, websites: websites, socialMedias: socialMedias, logo: logo)
|
|
90
90
|
@name = name
|
|
91
91
|
@description = description
|
|
@@ -96,7 +96,7 @@ class DataFoodConsortium::ConnectorV1::Enterprise < DataFoodConsortium::Connecto
|
|
|
96
96
|
@suppliedProducts = suppliedProducts
|
|
97
97
|
@technicalProducts = technicalProducts
|
|
98
98
|
@mainContact = mainContact
|
|
99
|
-
@
|
|
99
|
+
@affiliates = affiliates
|
|
100
100
|
self.semanticType = "dfc-b:Enterprise"
|
|
101
101
|
registerSemanticProperty("dfc-b:name", &method("name")).valueSetter = method("name=")
|
|
102
102
|
registerSemanticProperty("dfc-b:hasDescription", &method("description")).valueSetter = method("description=")
|
|
@@ -107,7 +107,7 @@ class DataFoodConsortium::ConnectorV1::Enterprise < DataFoodConsortium::Connecto
|
|
|
107
107
|
registerSemanticProperty("dfc-b:supplies", &method("suppliedProducts")).valueSetter = method("suppliedProducts=")
|
|
108
108
|
registerSemanticProperty("dfc-b:proposes", &method("technicalProducts")).valueSetter = method("technicalProducts=")
|
|
109
109
|
registerSemanticProperty("dfc-b:hasMainContact", &method("mainContact")).valueSetter = method("mainContact=")
|
|
110
|
-
registerSemanticProperty("dfc-b:affiliates", &method("
|
|
110
|
+
registerSemanticProperty("dfc-b:affiliates", &method("affiliates")).valueSetter = method("affiliates=")
|
|
111
111
|
end
|
|
112
112
|
|
|
113
113
|
|