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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f00eac9aca506202c35ee94dd2db15045aa5a386737e6beb349b9d4f9cb73484
4
- data.tar.gz: 52a2fe0da205b3dbb8d2dbe889de371d5cf6229ffcf3eb3ff0fbdeee4d9c4f8d
3
+ metadata.gz: f601e4f2af2f0234b1f350f6104792c7fac0b0ef6ca265e1d38756ca83464dff
4
+ data.tar.gz: 30d71b52b41df3111441b53aca66152d1cc7fe17af74aa7c7f0ffef440a2e042
5
5
  SHA512:
6
- metadata.gz: 885d8cc31fbbdd28095e41b385972e9ca418bbcfea33db8b8b4a605f50655967576950b5f81188ea7870b948bc4514231cd7eed01f17d63c0549dcbe9d2ec035
7
- data.tar.gz: b0b8eba23cac105b9b0f8c5656f4439379dc644ca5cd30e5a6d568a52732b6fe781f7955eb176601b7110cccaf51323fb70a79620bb1863fd2d2f608ce39c752
6
+ metadata.gz: 270e4f3f37f20e8ddb39ef0514bf610a0c6582704bca0a778395305e04ef6cd81390f3c189fa8b18188a324537b8f894fc85428a497f1fc967ce91a8ae0d57fe
7
+ data.tar.gz: 44e716493f072dbb9f0c15add3d90a78b31fc65a6292a09a609d2a703b3750872af15393aac6e4864c3394dfb4d685e1ef9d2e61d28e6b31e05fb41f5f9039c7
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Payify
4
- VERSION = "0.1.12"
4
+ VERSION = "0.1.14"
5
5
  end
@@ -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.12
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-21 00:00:00.000000000 Z
11
+ date: 2023-06-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dotenv-rails