uc3-dmp-dynamo 0.0.11 → 0.0.12
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/uc3-dmp-dynamo/client.rb +0 -2
- data/lib/uc3-dmp-dynamo/version.rb +1 -1
- 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: 5f56e8305a7c18d00f32d82320410ee3541d192cb8316387520905b157ef2722
|
4
|
+
data.tar.gz: 62a8052686169fd3a52d8109df505a4a5121d02cf46dad79c654cd1ab04ae001
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 51379653dd5cefcc664257775443fea34108378596dd40d43ae4e1ef58b1195557fc5ea548159364e88794836ecaa68a03871c2508e14265f03a240295794689
|
7
|
+
data.tar.gz: 80e910684933726b0009f498f525d7053255221031f74fe7fe7421dc3fe5e41989ff14da3f72095f20cb93979b75cfb609b9c224b96c847b8cdf6c2d8648fc61
|
@@ -91,7 +91,6 @@ module Uc3DmpDynamo
|
|
91
91
|
|
92
92
|
# Create/Update an item
|
93
93
|
def put_item(json:, debug: false)
|
94
|
-
json = Helper.parse_json(json: json)
|
95
94
|
raise ClientError, MSG_INVALID_KEY unless json.is_a?(Hash) && !json['PK'].nil? && !json['SK'].nil?
|
96
95
|
|
97
96
|
resp = @connection.put_item(
|
@@ -115,7 +114,6 @@ module Uc3DmpDynamo
|
|
115
114
|
|
116
115
|
# Delete an item
|
117
116
|
def delete_item(p_key:, s_key:, debug: false)
|
118
|
-
json = Helper.parse_json(json: json)
|
119
117
|
raise ClientError, MSG_INVALID_KEY unless json.is_a?(Hash) && !json['PK'].nil? && !json['SK'].nil?
|
120
118
|
|
121
119
|
resp = @connection.delete_item(
|