paddle 2.1.3 → 2.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +6 -0
- data/lib/paddle/configuration.rb +1 -1
- data/lib/paddle/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 18ca722e2dfa03afa07ccc605919184d6f13ebb594c163c5f4ea0ff2bb4ab242
|
4
|
+
data.tar.gz: d4d42ff9ab6370b90ecc965a26a936fcabffd455f98d88a1bc43ed39779e6f91
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a33e4d7f8462e8c4a987d6bc621b920e29b6aada8cc1076f204e38f9cac69fa733dfed1f12e5447ec4dd148db25b0a0fd01ef39641534dc2ba7466b95416451
|
7
|
+
data.tar.gz: 697890a2b7465aa1b563fef5e4a388792dbe4325e22582fa16d8b727b5dab2d49702fd90859bbdd056709cba7ad16977706ef463965b1d51ebf35c7a1216c46b
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -33,6 +33,11 @@ Paddle.configure do |config|
|
|
33
33
|
end
|
34
34
|
```
|
35
35
|
|
36
|
+
### Caveats
|
37
|
+
|
38
|
+
The Paddle API doesn't take `nil` values for optional parameters. If you want to
|
39
|
+
remove a value, you'll need to pass `"null"` instead.
|
40
|
+
|
36
41
|
### Products
|
37
42
|
|
38
43
|
```ruby
|
@@ -119,6 +124,7 @@ Paddle::Discount.update(id: "dsc_abc123", description: "An updated description")
|
|
119
124
|
# https://developer.paddle.com/api-reference/customers/list-customers
|
120
125
|
Paddle::Customer.list
|
121
126
|
Paddle::Customer.list(status: "active")
|
127
|
+
Paddle::Customer.list(email: "me@mydomain.com")
|
122
128
|
|
123
129
|
# Create a customer
|
124
130
|
# https://developer.paddle.com/api-reference/customers/create-customer
|
data/lib/paddle/configuration.rb
CHANGED
data/lib/paddle/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: paddle
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dean Perry
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-04-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -24,7 +24,7 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '2.0'
|
27
|
-
description:
|
27
|
+
description:
|
28
28
|
email:
|
29
29
|
- dean@deanpcmad.com
|
30
30
|
executables: []
|
@@ -93,7 +93,7 @@ licenses: []
|
|
93
93
|
metadata:
|
94
94
|
homepage_uri: https://github.com/deanpcmad/paddle
|
95
95
|
source_code_uri: https://github.com/deanpcmad/paddle
|
96
|
-
post_install_message:
|
96
|
+
post_install_message:
|
97
97
|
rdoc_options: []
|
98
98
|
require_paths:
|
99
99
|
- lib
|
@@ -108,8 +108,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
108
108
|
- !ruby/object:Gem::Version
|
109
109
|
version: '0'
|
110
110
|
requirements: []
|
111
|
-
rubygems_version: 3.4.
|
112
|
-
signing_key:
|
111
|
+
rubygems_version: 3.4.22
|
112
|
+
signing_key:
|
113
113
|
specification_version: 4
|
114
114
|
summary: Ruby library for the Paddle Billing & Classic APIs
|
115
115
|
test_files: []
|