stripe 5.40.0 → 5.41.0
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 +4 -4
- data/CHANGELOG.md +4 -0
- data/VERSION +1 -1
- data/lib/stripe/object_types.rb +1 -0
- data/lib/stripe/resources/shipping_rate.rb +12 -0
- data/lib/stripe/resources.rb +1 -0
- data/lib/stripe/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1fd45fe315151a7731bb10cc98d81b8db23a24d4defefc1faca38591d5f5484b
|
|
4
|
+
data.tar.gz: 5d4db093fa51a3e11cd63bc52deca194c50efa421ccb6845b74f76b3992e3c79
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0ba186c7d33ec0c10f9dcc2967e87a930f896760aa11b79b43d6712d3b4761b21b10ef48498d52315ec1da4cfca45e0439905b2871f7b0e1eae458476ac36b8c
|
|
7
|
+
data.tar.gz: d84e048270bf915017efb4f92cf456f37709e55ac97d3d6c68c470ede10fed86a9d5b6e775c0c150144d1b7ab618e634ac826f0e63b780029984022ef22ee165
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 5.41.0 - 2021-11-16
|
|
4
|
+
* [#1017](https://github.com/stripe/stripe-ruby/pull/1017) API Updates
|
|
5
|
+
* Add support for new resource `ShippingRate`
|
|
6
|
+
|
|
3
7
|
## 5.40.0 - 2021-11-11
|
|
4
8
|
* [#1015](https://github.com/stripe/stripe-ruby/pull/1015) API Updates
|
|
5
9
|
* Add support for `expire` method on resource `Checkout.Session`
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
5.
|
|
1
|
+
5.41.0
|
data/lib/stripe/object_types.rb
CHANGED
|
@@ -79,6 +79,7 @@ module Stripe
|
|
|
79
79
|
Review::OBJECT_NAME => Review,
|
|
80
80
|
SetupAttempt::OBJECT_NAME => SetupAttempt,
|
|
81
81
|
SetupIntent::OBJECT_NAME => SetupIntent,
|
|
82
|
+
ShippingRate::OBJECT_NAME => ShippingRate,
|
|
82
83
|
Sigma::ScheduledQueryRun::OBJECT_NAME => Sigma::ScheduledQueryRun,
|
|
83
84
|
SKU::OBJECT_NAME => SKU,
|
|
84
85
|
Source::OBJECT_NAME => Source,
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
module Stripe
|
|
5
|
+
class ShippingRate < APIResource
|
|
6
|
+
extend Stripe::APIOperations::Create
|
|
7
|
+
extend Stripe::APIOperations::List
|
|
8
|
+
include Stripe::APIOperations::Save
|
|
9
|
+
|
|
10
|
+
OBJECT_NAME = "shipping_rate"
|
|
11
|
+
end
|
|
12
|
+
end
|
data/lib/stripe/resources.rb
CHANGED
|
@@ -68,6 +68,7 @@ require "stripe/resources/reversal"
|
|
|
68
68
|
require "stripe/resources/review"
|
|
69
69
|
require "stripe/resources/setup_attempt"
|
|
70
70
|
require "stripe/resources/setup_intent"
|
|
71
|
+
require "stripe/resources/shipping_rate"
|
|
71
72
|
require "stripe/resources/sigma/scheduled_query_run"
|
|
72
73
|
require "stripe/resources/sku"
|
|
73
74
|
require "stripe/resources/source"
|
data/lib/stripe/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: stripe
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 5.
|
|
4
|
+
version: 5.41.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Stripe
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-11-
|
|
11
|
+
date: 2021-11-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Stripe is the easiest way to accept payments online. See https://stripe.com
|
|
14
14
|
for details.
|
|
@@ -113,6 +113,7 @@ files:
|
|
|
113
113
|
- lib/stripe/resources/review.rb
|
|
114
114
|
- lib/stripe/resources/setup_attempt.rb
|
|
115
115
|
- lib/stripe/resources/setup_intent.rb
|
|
116
|
+
- lib/stripe/resources/shipping_rate.rb
|
|
116
117
|
- lib/stripe/resources/sigma/scheduled_query_run.rb
|
|
117
118
|
- lib/stripe/resources/sku.rb
|
|
118
119
|
- lib/stripe/resources/source.rb
|