payify 0.1.11 → 0.1.13
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: 96de4a1a033290c2cf4ab8db2370259c90f283eebf1f7d9524db1a5323c4578e
|
4
|
+
data.tar.gz: 1b21f9a92a1dce9e96d3118fa9c50c865f9ab6d874ac75c4d1627b9954d16b7b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e71f5acc717c61b67756299441e1776685dd52ff06295d0fd0ba9c69c87ca0af36613d5dbe129629064b46bfb80ca392b5566169a9569d12b4e79a1dbcd35946
|
7
|
+
data.tar.gz: 4fac2a4b1fb1d5878af81fcf1d22215d5e410e94bcaeb1021639e4da36d1f047bd8b5681ce61b7389f0af1c9b8a68e0b7173f2ed781d48678221c1e86036b0c6
|
@@ -1,11 +1,11 @@
|
|
1
|
-
require "
|
1
|
+
require "stripe_api/client"
|
2
2
|
|
3
3
|
module Payify
|
4
4
|
module StripePaymentConcern
|
5
5
|
extend ActiveSupport::Concern
|
6
6
|
|
7
7
|
def stripe_client
|
8
|
-
@stripe_client ||=
|
8
|
+
@stripe_client ||= StripeApi::Client.new
|
9
9
|
end
|
10
10
|
|
11
11
|
def stripe_init_intent
|
data/lib/payify/version.rb
CHANGED
@@ -1,13 +1,13 @@
|
|
1
|
-
module
|
1
|
+
module StripeApi
|
2
2
|
class Client
|
3
3
|
def initialize
|
4
4
|
stripe
|
5
5
|
|
6
|
-
Stripe.api_key = Payify.stripe_api_key
|
6
|
+
::Stripe.api_key = Payify.stripe_api_key
|
7
7
|
end
|
8
8
|
|
9
9
|
def stripe
|
10
|
-
@stripe ||= Stripe::StripeClient.new
|
10
|
+
@stripe ||= ::Stripe::StripeClient.new
|
11
11
|
end
|
12
12
|
|
13
13
|
def create_payment_intent(amount, tax_id = nil, object_invoice = "")
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: payify
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nathan Lopez
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-06-
|
11
|
+
date: 2023-06-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dotenv-rails
|
@@ -99,7 +99,7 @@ files:
|
|
99
99
|
- lib/payify.rb
|
100
100
|
- lib/payify/engine.rb
|
101
101
|
- lib/payify/version.rb
|
102
|
-
- lib/
|
102
|
+
- lib/stripe_api/client.rb
|
103
103
|
- lib/tasks/payify_tasks.rake
|
104
104
|
homepage: https://github.com/andrewdsilva/payify
|
105
105
|
licenses:
|