lucid_shopify 0.12.1 → 0.13.0
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/README.md +1 -0
- data/lib/lucid_shopify/config.rb +2 -0
- data/lib/lucid_shopify/create_all_webhooks.rb +2 -0
- data/lib/lucid_shopify/create_charge.rb +2 -2
- data/lib/lucid_shopify/create_webhook.rb +2 -0
- data/lib/lucid_shopify/delete_all_webhooks.rb +2 -0
- data/lib/lucid_shopify/delete_webhook.rb +2 -0
- data/lib/lucid_shopify/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e8692657f4678813af3fadfa69a579b244673eefb32e0dd4a931547869ff8dad
|
4
|
+
data.tar.gz: 2f0259dc467c8a28491b6418af07202c3330f9e013cdf9452d04da7040a51016
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d7622765d89ede2c6c0114aeffcdbff221d158debab50ec2c83c2ca81e9c0fb6a736371b174ee6f1ae1c9890f046e85bca97e29db6422acb4dffa91c9c0d7f8
|
7
|
+
data.tar.gz: 516ccf218bf85bb16260300cdb017d7534db73c5dc4e5ba086fd36a9044b6b15cabaf735dd5166308d23a421c6141fa353ae6daec4cf25ecfb36a0dfe1aa7bf6
|
data/README.md
CHANGED
data/lib/lucid_shopify/config.rb
CHANGED
@@ -18,6 +18,8 @@ module LucidShopify
|
|
18
18
|
# @param request_credentials [RequestCredentials]
|
19
19
|
# @param webhooks [WebhookList]
|
20
20
|
#
|
21
|
+
# @return [Array<Hash>] response data
|
22
|
+
#
|
21
23
|
def call(request_credentials, webhooks: Container[:webhook_list])
|
22
24
|
webhooks.map do |webhook|
|
23
25
|
Thread.new { @create_webhook.(request_credentials, webhook) }
|
@@ -21,8 +21,8 @@ module LucidShopify
|
|
21
21
|
#
|
22
22
|
def call(request_credentials, charge)
|
23
23
|
data = @client.post_json(request_credentials, 'recurring_application_charges', {
|
24
|
-
return_url
|
25
|
-
}.merge(charge))
|
24
|
+
'return_url' => LucidShopify.config.billing_callback_uri
|
25
|
+
}.merge(charge.transform_keys(&:to_s)))
|
26
26
|
|
27
27
|
data['recurring_application_charge']
|
28
28
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lucid_shopify
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.13.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kelsey Judson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-08-
|
11
|
+
date: 2018-08-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dotenv
|