lucid_shopify-resource 0.7.1 → 0.7.2

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: de48ba400cd93b73846c49824011cd23132eddc63f10c5b748499709ca11da9a
4
- data.tar.gz: fbef1d854ff364d1f87563650ecad31ce95c471d9f460c788c5e429186ac3471
3
+ metadata.gz: f4c431cb8ad48ce3a734093446081a002683f1b34c46aa8acc267b8465ba7781
4
+ data.tar.gz: e5f577b37f11fff8d62244708e88970f6d032a488f2f750b108560712f7fadad
5
5
  SHA512:
6
- metadata.gz: 5ac8bfb46dd29754476fc52534e5f5d106701478883122dcab5c1969b08f7092461fb706240b48991d3de5fd55e1ddbd44916a0ff88d8a027cc2ae0436f5f061
7
- data.tar.gz: b176c0f38ae28f46dc8005927aabbe41362dfeed091d1e417af5c543c59c98a8a69b58135d4bd0bf8796090b9691606b3b65fa3b3239eab83c5eb51261aa8aa1
6
+ metadata.gz: 246948304c3ec0f3d381f747e68c76ae1a1f3bd843e3b466607f31bec9915c53ef82dfa387dbbd2308e0c03499a8f6c236747444606cecfe4eca79a9c7d9bfd4
7
+ data.tar.gz: 7e1f37ddf1b44fe76d24dd543df3e9397dfecec18029dd7850f7181823510a948f5587a91a33754fbfae1e1c4ebbdecd99360f2cbabe45d589765df33dc79263
@@ -26,9 +26,9 @@ module LucidShopify
26
26
  # @return [Integer] the new ID
27
27
  #
28
28
  def create(credentials, data)
29
- response = client.post_json(credentials, resource, resource_singular => data)
29
+ data = client.post_json(credentials, resource, resource_singular => data)
30
30
 
31
- response.data_hash.dig(resource_singular, 'id').tap do |id|
31
+ data.dig(resource_singular, 'id').tap do |id|
32
32
  logger.info("Created #{resource_singular} id=#{id}")
33
33
  end
34
34
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module LucidShopify
4
4
  module Resource
5
- VERSION = '0.7.1'
5
+ VERSION = '0.7.2'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lucid_shopify-resource
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kelsey Judson