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: 0fa9bb51ecf7e284bbbfc17e69b226c2fbde70ddd52ba0b646a755ce9be2bccb
4
- data.tar.gz: 0c61fb9bfb43f086482efbf144c45f329f789883c6899d4c0f2db505fb41b9cc
3
+ metadata.gz: 96de4a1a033290c2cf4ab8db2370259c90f283eebf1f7d9524db1a5323c4578e
4
+ data.tar.gz: 1b21f9a92a1dce9e96d3118fa9c50c865f9ab6d874ac75c4d1627b9954d16b7b
5
5
  SHA512:
6
- metadata.gz: 92d358f5c5e6902d2f1a39069deef60587f2f3fce801a911fd563502019640d0b2cd96c4e0fecc6ced75198b733079bdff64e16635d8162491acbd052076e7e5
7
- data.tar.gz: 727c3072195112eb5e08c2c4578bcc7fcba2d579e981f4789eb8d515568832839d9793f47d2709fcdd06f07de24c581bb77db90045c68a902b438902cf071b56
6
+ metadata.gz: e71f5acc717c61b67756299441e1776685dd52ff06295d0fd0ba9c69c87ca0af36613d5dbe129629064b46bfb80ca392b5566169a9569d12b4e79a1dbcd35946
7
+ data.tar.gz: 4fac2a4b1fb1d5878af81fcf1d22215d5e410e94bcaeb1021639e4da36d1f047bd8b5681ce61b7389f0af1c9b8a68e0b7173f2ed781d48678221c1e86036b0c6
@@ -1,11 +1,11 @@
1
- require "stripe/client"
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 ||= Stripe::Client.new
8
+ @stripe_client ||= StripeApi::Client.new
9
9
  end
10
10
 
11
11
  def stripe_init_intent
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Payify
4
- VERSION = "0.1.11"
4
+ VERSION = "0.1.13"
5
5
  end
@@ -1,13 +1,13 @@
1
- module Stripe
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.11
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-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
@@ -99,7 +99,7 @@ files:
99
99
  - lib/payify.rb
100
100
  - lib/payify/engine.rb
101
101
  - lib/payify/version.rb
102
- - lib/stripe/client.rb
102
+ - lib/stripe_api/client.rb
103
103
  - lib/tasks/payify_tasks.rake
104
104
  homepage: https://github.com/andrewdsilva/payify
105
105
  licenses: