payify 0.1.12 → 0.1.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/payify/version.rb +1 -1
- data/lib/stripe_api/client.rb +4 -2
- 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: f601e4f2af2f0234b1f350f6104792c7fac0b0ef6ca265e1d38756ca83464dff
|
4
|
+
data.tar.gz: 30d71b52b41df3111441b53aca66152d1cc7fe17af74aa7c7f0ffef440a2e042
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 270e4f3f37f20e8ddb39ef0514bf610a0c6582704bca0a778395305e04ef6cd81390f3c189fa8b18188a324537b8f894fc85428a497f1fc967ce91a8ae0d57fe
|
7
|
+
data.tar.gz: 44e716493f072dbb9f0c15add3d90a78b31fc65a6292a09a609d2a703b3750872af15393aac6e4864c3394dfb4d685e1ef9d2e61d28e6b31e05fb41f5f9039c7
|
data/lib/payify/version.rb
CHANGED
data/lib/stripe_api/client.rb
CHANGED
@@ -1,13 +1,15 @@
|
|
1
|
+
require "stripe"
|
2
|
+
|
1
3
|
module StripeApi
|
2
4
|
class Client
|
3
5
|
def initialize
|
4
6
|
stripe
|
5
7
|
|
6
|
-
Stripe.api_key = Payify.stripe_api_key
|
8
|
+
::Stripe.api_key = Payify.stripe_api_key
|
7
9
|
end
|
8
10
|
|
9
11
|
def stripe
|
10
|
-
@stripe ||= Stripe::StripeClient.new
|
12
|
+
@stripe ||= ::Stripe::StripeClient.new
|
11
13
|
end
|
12
14
|
|
13
15
|
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.14
|
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
|