TagoStripe 0.1.0.11 → 0.1.0.13

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8182085c9503950e56a8cae4ea73115e7dfdaad913a2d881eeb54e87ac6c4ac1
4
- data.tar.gz: eabdff682df5801a96ca73475b1f8b2f6cbe7a2904571dacb1864594d5b46e2f
3
+ metadata.gz: c93acbac2ac0658f6d1fb883b866c7b78a9ecab5f50b7dd2e5dea98cdd082fb1
4
+ data.tar.gz: 5683facf260b89601395a35cae578c30cd6de93096e152cb1e0e6b9158e388d1
5
5
  SHA512:
6
- metadata.gz: a6c8172b7d16c9a566c4e239f393f723ceae7f28424c86f1b953b580e453dd3a087a38fd0f178e6b1011308e12405e85129ccb5c18d215d165df62d3ed7e415f
7
- data.tar.gz: aa5b241bffef0bfc1bfa1f2ba49f968482d9aa80c9360b88457b4927e10e2a1dd17f0b2d9219ff9ccc06df94592b342a7e71ec1d3b0de5c5b4f770b3e5e938e9
6
+ metadata.gz: 493c37c63d57a8a796f33c1a6587f3e3a2959688be156023829f890cf4403fa1f42976f894e3104432976fddf03985fbf0e11545eea6e94a8b2fb667c9a1717a
7
+ data.tar.gz: 0e0c1ce7c5d5a040a4209127cde0ad8df516685671814bdb1e4365fa23b34d4edec7f96a3a242cf6e44353b33f3e3e97c1881fa71777a36ba0cb7a0eb57380eb
@@ -1,7 +1,7 @@
1
1
  require 'stripe'
2
2
  module TagoStripe
3
3
  class CheckoutSession
4
- def set_api_key
4
+ def self.set_api_key
5
5
  Stripe.api_key = ENV['STRIPE_SECRET_KEY']
6
6
  end
7
7
 
@@ -1,7 +1,7 @@
1
1
  require 'stripe'
2
2
  module TagoStripe
3
3
  class Customer
4
- def set_api_key
4
+ def self.set_api_key
5
5
  Stripe.api_key = ENV['STRIPE_SECRET_KEY']
6
6
  end
7
7
 
@@ -49,7 +49,6 @@ module TagoStripe
49
49
  customer: customer_id,
50
50
  components: {buy_button: {enabled: true}},
51
51
  })
52
-
53
52
  end
54
53
 
55
54
  end
@@ -1,7 +1,7 @@
1
1
  require 'stripe'
2
2
  module TagoStripe
3
3
  class Price
4
- def set_api_key
4
+ def self.set_api_key
5
5
  Stripe.api_key = ENV['STRIPE_SECRET_KEY']
6
6
  end
7
7
 
@@ -1,7 +1,7 @@
1
1
  require 'stripe'
2
2
  module TagoStripe
3
3
  class Product
4
- def set_api_key
4
+ def self.set_api_key
5
5
  Stripe.api_key = ENV['STRIPE_SECRET_KEY']
6
6
  end
7
7
 
@@ -1,7 +1,7 @@
1
1
  require 'stripe'
2
2
  module TagoStripe
3
3
  class Subscription
4
- def set_api_key
4
+ def self.set_api_key
5
5
  Stripe.api_key = ENV['STRIPE_SECRET_KEY']
6
6
  end
7
7
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TagoStripe
4
- VERSION = "0.1.0.11"
4
+ VERSION = "0.1.0.13"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: TagoStripe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.11
4
+ version: 0.1.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - manatago