recurly 2.18.30 → 2.18.32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/recurly/account.rb +1 -0
- data/lib/recurly/account_balance.rb +1 -0
- data/lib/recurly/invoice.rb +10 -0
- data/lib/recurly/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 380b5b8231cc9062f6275a2a5828cf51eae88aaa65aca50b6ea989c62dbf630d
|
4
|
+
data.tar.gz: 10994ca6ae6a77b269a9fe68f0c50858781adf161bbc4e38fb464d46169aaeb6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49b6f26d5151d156c47046fb6a7ee41174e8b42f69e1c932a19f35fea7ab8ddffb2056bd127e20ea21d3101858abc4c5f940284791043e07d4c1c9316ee352e5
|
7
|
+
data.tar.gz: 3aac2a23498e485be20c61bd3f53bbd392c75a02df3f5619b66519054ed1f0fe4cd5274bf52b4698c786206d4a077a2c8fc2c7eb6c98e481acc3d04cb5e8aff6
|
data/README.md
CHANGED
@@ -14,7 +14,7 @@ Recurly is packaged as a Ruby gem. We recommend you install it with
|
|
14
14
|
[Bundler](http://gembundler.com/) by adding the following line to your Gemfile:
|
15
15
|
|
16
16
|
``` ruby
|
17
|
-
gem 'recurly', '~> 2.18.
|
17
|
+
gem 'recurly', '~> 2.18.32'
|
18
18
|
```
|
19
19
|
|
20
20
|
Recurly will automatically use [Nokogiri](http://nokogiri.org/) (for a nice
|
data/lib/recurly/account.rb
CHANGED
data/lib/recurly/invoice.rb
CHANGED
@@ -177,6 +177,16 @@ module Recurly
|
|
177
177
|
true
|
178
178
|
end
|
179
179
|
|
180
|
+
# Applies the open credit balance on the account to the invoice balance.
|
181
|
+
#
|
182
|
+
# @return [true, false] +true+ when successful, +false+ when unable to
|
183
|
+
# (e.g., the invoice is no longer collectible).
|
184
|
+
def apply_credit_balance
|
185
|
+
return false unless link? :apply_credit_balance
|
186
|
+
reload follow_link :apply_credit_balance
|
187
|
+
true
|
188
|
+
end
|
189
|
+
|
180
190
|
# Posts an offline payment on this invoice
|
181
191
|
#
|
182
192
|
# @return [Transaction]
|
data/lib/recurly/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: recurly
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.18.
|
4
|
+
version: 2.18.32
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Recurly
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|