comee_core 0.2.63 → 0.2.65
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4944851ea495743b5fe38687517871bfc140ad2044f598b76d3786ed334b6453
|
4
|
+
data.tar.gz: dad5b71f98974372b49ead6c185fa4d3dd0dfeba43359ecda70447ec18158402
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 572fd16292ba35bebf9467c34221d835ef71e21d3ce4ff8b0782acf9c8bdfa125e8f8e3db2c56c0785d4443bd12c0c91bf3d94aeb2fbd754ef92b77d7adafdd7
|
7
|
+
data.tar.gz: 61dc25ee6b868f3077ce87183145a5588d78e2f9f7b213abf0ee70ee991cdd1c1847b48ae35948be2c7850f0ffd142fb4f79bbe2058747293e11c38688a7782c
|
@@ -3,7 +3,7 @@ module Comee
|
|
3
3
|
class CustomerOrderService
|
4
4
|
def create(params)
|
5
5
|
order = nil
|
6
|
-
params = params.with_indifferent_access
|
6
|
+
params = params.to_h.with_indifferent_access
|
7
7
|
ActiveRecord::Base.transaction do
|
8
8
|
order_params = params.except(:items)
|
9
9
|
order = Comee::Core::CustomerOrder.create(**order_params)
|
data/lib/comee/core/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: comee_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.65
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Henock L.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-04-
|
11
|
+
date: 2024-04-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: active_model_serializers
|