cats_core 1.1.7 → 1.1.8
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: e88cccfc4e2d6d554ec178e2f7e981462ace4db4fa8e43fb142b617550eadde7
|
4
|
+
data.tar.gz: cb8b5bfe4186b7e2394ca8ed765d6a1c5c7c2694f503a031d42f64fce0d3b4c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49cb848b9e249982677944e85e91305ebb7997237a570ce9f91cfecfedc058ea7f02052e8e8aea79ae7020ee8618998a48f1d97e26886415b807d619c25dcf73
|
7
|
+
data.tar.gz: 6959a9bdb0a8474785fb1a63b6282d0f1030fcf0ed0f182246e310d73681eff892f38f64eb72c24e1d43c47541912f8292694a717676aa56916184fea63c3f47
|
@@ -17,10 +17,10 @@ module Cats
|
|
17
17
|
render json: { success: false, error: e.message }
|
18
18
|
end
|
19
19
|
|
20
|
-
def
|
20
|
+
def finish_stacking
|
21
21
|
receipt = Cats::Core::Receipt.find(params[:id])
|
22
22
|
service = ReceiptService.new
|
23
|
-
result = service.
|
23
|
+
result = service.finish_stacking(receipt)
|
24
24
|
render json: { success: true, data: serialize(result) }
|
25
25
|
rescue StandardError => e
|
26
26
|
render json: { success: false, error: e.message }
|
data/config/routes.rb
CHANGED
data/lib/cats/core/version.rb
CHANGED