cadooz 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cadooz.rb +21 -21
- data/lib/cadooz/models/immutable/product_category.rb +3 -0
- data/lib/cadooz/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4bdfd0781ddb32051c5afee9bd1881ca7c427ada
|
4
|
+
data.tar.gz: 7305956ad330c3bdb706a340c0023a0fa3b9c12d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3daeb38a4717d37908651b03f2b6051141b390af305d97d8b522115ba1a7b22771d2e5ee9c83b60cbbf5f231a34f35edabaccdc7c5cf0bf6ed3d9dab7fb7ad8e
|
7
|
+
data.tar.gz: 6552f670971bfdc32500bc38812c790aecf5867b9e499910729cca006c13dac776014da7760798724f26af5ee6c33ce330a4f83a479ae9604216069512f35795
|
data/lib/cadooz.rb
CHANGED
@@ -31,24 +31,24 @@ module Cadooz
|
|
31
31
|
module Mutable end
|
32
32
|
end
|
33
33
|
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
34
|
+
require_relative 'mixins'
|
35
|
+
require_relative 'cadooz/models/immutable/address'
|
36
|
+
require_relative 'cadooz/models/immutable/attributes'
|
37
|
+
require_relative 'cadooz/models/immutable/catalog'
|
38
|
+
require_relative 'cadooz/models/immutable/catalog_product'
|
39
|
+
require_relative 'cadooz/models/immutable/catalog_product_variation'
|
40
|
+
require_relative 'cadooz/models/immutable/generation_profile_product'
|
41
|
+
require_relative 'cadooz/models/immutable/greeting_card'
|
42
|
+
require_relative 'cadooz/models/immutable/invoice_information'
|
43
|
+
require_relative 'cadooz/models/immutable/order'
|
44
|
+
require_relative 'cadooz/models/immutable/order_position'
|
45
|
+
require_relative 'cadooz/models/immutable/order_status'
|
46
|
+
require_relative 'cadooz/models/immutable/payment'
|
47
|
+
require_relative 'cadooz/models/immutable/product_category'
|
48
|
+
require_relative 'cadooz/models/immutable/voucher'
|
49
|
+
require_relative 'cadooz/models/mutable/address'
|
50
|
+
require_relative 'cadooz/models/mutable/greeting_card'
|
51
|
+
require_relative 'cadooz/models/mutable/invoice_information'
|
52
|
+
require_relative 'cadooz/models/mutable/order'
|
53
|
+
require_relative 'cadooz/models/mutable/order_position'
|
54
|
+
require_relative 'cadooz/services/business_order_service'
|
@@ -6,6 +6,9 @@ class Cadooz::Immutable::ProductCategory
|
|
6
6
|
def initialize(open_struct)
|
7
7
|
@id = open_struct&.id
|
8
8
|
@description = open_struct&.description
|
9
|
+
&.map_entries
|
10
|
+
&.elements
|
11
|
+
&.inject({}) { |hash, element| hash.merge(element.key.to_sym => element.value) }
|
9
12
|
@internal_name = open_struct&.internal_name
|
10
13
|
@shop_name = open_struct&.shop_name
|
11
14
|
&.map_entries
|
data/lib/cadooz/version.rb
CHANGED