recurly 2.19.14 → 2.20.0

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: 4853b168a6c2025885e1596a398d110300d73fc0bd4411c20a7f426bedeec728
4
- data.tar.gz: 7c5a17e1d0c78db2e2c99252740fff6a2a14e9c7fc228b2fadb4698b3eb0883d
3
+ metadata.gz: 76ffc24a326ee1c22ce5484b7077144a9824b7f73286f31e229ea2f91cd6fba0
4
+ data.tar.gz: 5f5d614ff5665301e9506021a46571acd2b87f119599735639f035483c3c00d1
5
5
  SHA512:
6
- metadata.gz: 1f399696922dd5b30171a2775e5395ebc0d7c524d9509220bf21bcd9dc44a54046ca60db27a6d9fcb612455c9171c854716e50812884370f8e8d85358cd34ba9
7
- data.tar.gz: d56c91136f20ce5b730ff4cb22a6307824cc5fc6882510f0377d3e72dc36bc6038d23f56292a4fe91aaa9a119fe901859188afb3b25354ac01dd0d955c1c9aad
6
+ metadata.gz: 0cf092352d0a7ae6d5ff08dde873cb012fbb246f921701dcefe1f097e4cb7e1d1ce8462ca7a7ae4e771918b45ade1d3415d21962219c0466e8c5b355b1892c03
7
+ data.tar.gz: 254aa164e5abe43ab03cc050bb49d31358256040844134df93a356bf67ed65bc15c2f56e2efa959b2d2dafa7b932178d3602907f1d01a714f008c7681db6b932
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.19.14'
17
+ gem 'recurly', '~> 2.20.0'
18
18
  ```
19
19
 
20
20
  Recurly will automatically use [Nokogiri](http://nokogiri.org/) (for a nice
@@ -55,6 +55,8 @@ module Recurly
55
55
  tax_type
56
56
  tax_region
57
57
  tax_rate
58
+ origin_tax_address_source
59
+ destination_tax_address_source
58
60
  tax_exempt
59
61
  tax_inclusive
60
62
  tax_code
@@ -13,6 +13,8 @@ module Recurly
13
13
  name
14
14
  invoice_display_address
15
15
  tax_address
16
+ origin_tax_address_source
17
+ destination_tax_address_source
16
18
  subscriber_location_countries
17
19
  default_vat_number
18
20
  default_registration_number
@@ -30,6 +30,8 @@ module Recurly
30
30
  trial_ends_at
31
31
  canceled_at
32
32
  in_grace_period
33
+ imported
34
+ test
33
35
  )
34
36
 
35
37
  # We do not expose PUT or POST in the v2 API.
@@ -47,5 +49,9 @@ module Recurly
47
49
  rescue Recurly::API::UnprocessableEntity => e
48
50
  raise Invalid, e.message
49
51
  end
52
+
53
+ def self.find_by_external_id(external_id)
54
+ self.find("external-id-#{external_id}")
55
+ end
50
56
  end
51
57
  end
@@ -1,6 +1,6 @@
1
1
  module Recurly
2
2
  module Version
3
- VERSION = "2.19.14"
3
+ VERSION = "2.20.0"
4
4
 
5
5
  class << self
6
6
  def inspect
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.19.14
4
+ version: 2.20.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Recurly
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-08 00:00:00.000000000 Z
11
+ date: 2024-07-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri