lucid_shopify-resource 0.7.3 → 0.7.4

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: f45fc0b1d41a7ddfa398ab58a1d9f8eccd4278eeaf059b572dc40f2df46671c4
4
- data.tar.gz: 78fcb46622b11b5449cc8cd0207d2fffdcfced32f57ec2593f3a62c37af40ce8
3
+ metadata.gz: 7db152ebdf2241dc8a90e755adec8893f92d9bc0f8c36c785cccf98822395ab6
4
+ data.tar.gz: bf81c29d8deb7022ac9d48106b40ba7bfc9157310e8284b3be7b4c16f974820a
5
5
  SHA512:
6
- metadata.gz: 7d0a982afc59cfe87cf16a063d6ca5f05a9c5f458acd7aa015c8dd0fc765ffbf15645a435cbe6cf67225a4aa48da467c31cfab90d48dc93dbb883d4004da3570
7
- data.tar.gz: 7df8e77b3c041026910056c2f595fafeda87df3d2ff0db89c12f1aa8722c0e1f8e05587bfdc06c2f28a73ff2d0645d2897d720a6b0da16c80a2e9ac639b7ecbe
6
+ metadata.gz: 8d7e76b1ab5b6d4ebac5d578e4e4c22ee5ba7af5b75ea821c30fccce9c016963cb817ba0a1ddfb4044eb63c66c309588115a53b0101841e53733413317cdcff2
7
+ data.tar.gz: 6e3505619779c550ee4cd2ae2a91f688402095fc20a673ffb1c241343fb5f51b42d0171a7d6aaeb5954cec253f25ec0f9a1cd86817725ea42363c5962d54cea3
@@ -26,7 +26,7 @@ module LucidShopify
26
26
  # @return [Integer] the new ID
27
27
  #
28
28
  def create(credentials, data)
29
- data = client.post_json(credentials, resource, resource_singular => data)
29
+ data = client.post_json(credentials, resource, resource_singular => data).to_h
30
30
 
31
31
  data.dig(resource_singular, 'id').tap do |id|
32
32
  logger.info("Created #{resource_singular} id=#{id}")
@@ -2,6 +2,6 @@
2
2
 
3
3
  module LucidShopify
4
4
  module Resource
5
- VERSION = '0.7.3'
5
+ VERSION = '0.7.4'
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.3
4
+ version: 0.7.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kelsey Judson