recurly 4.85.0 → 4.86.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/.bumpversion.cfg +1 -1
- data/.github/workflows/ci.yml +2 -2
- data/.github/workflows/docs.yml +1 -1
- data/CHANGELOG.md +366 -0
- data/GETTING_STARTED.md +1 -1
- data/lib/data/ca-certificates.crt +0 -40
- data/lib/recurly/requests/billing_info_create.rb +8 -0
- data/lib/recurly/requests/payment_gateway_references.rb +1 -1
- data/lib/recurly/resources/payment_gateway_references.rb +1 -1
- data/lib/recurly/resources/subscription_change.rb +4 -0
- data/lib/recurly/version.rb +1 -1
- data/openapi/api.yaml +317 -2
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bc47d4f3bf28ec468dc4fa335ed1cd2d9d8b8b74c209f03c217c58545be85274
|
|
4
|
+
data.tar.gz: eff91e9d6e81dbb612b5fcf4fc11080df56f5d87083bb1b5daea305698c7e0da
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 535add386b81f07629af05debfa2c5a8a69fc172ba08de764dbc7cd51259fe1d63017923cab1e2082083c7e8b2b51319650230318b90214479c643516c0b0164
|
|
7
|
+
data.tar.gz: f1444557635bbb84debc983a8bf636df14d33e27a8d52271459039aad02c6df9944bf62857ca9e3b7f6aa22ec2411797a0ec27f2450dd2057f2a1a23b171e537
|
data/.bumpversion.cfg
CHANGED
data/.github/workflows/ci.yml
CHANGED
|
@@ -7,7 +7,7 @@ concurrency:
|
|
|
7
7
|
cancel-in-progress: true
|
|
8
8
|
jobs:
|
|
9
9
|
build:
|
|
10
|
-
runs-on: ubuntu-
|
|
10
|
+
runs-on: ubuntu-24.04
|
|
11
11
|
name: Ruby ${{ matrix.ruby }} tests
|
|
12
12
|
strategy:
|
|
13
13
|
matrix:
|
|
@@ -22,7 +22,7 @@ jobs:
|
|
|
22
22
|
- run: ./scripts/test
|
|
23
23
|
buildall:
|
|
24
24
|
if: ${{ always() }}
|
|
25
|
-
runs-on: ubuntu-
|
|
25
|
+
runs-on: ubuntu-24.04
|
|
26
26
|
name: Build (matrix)
|
|
27
27
|
needs: build
|
|
28
28
|
steps:
|
data/.github/workflows/docs.yml
CHANGED
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [4.86.0](https://github.com/recurly/recurly-client-ruby/tree/4.86.0) (2026-10-30)
|
|
4
|
+
|
|
5
|
+
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.85.1...4.86.0)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
**Merged Pull Requests**
|
|
9
|
+
|
|
10
|
+
- Generated Latest Changes for v2021-02-25 [#978](https://github.com/recurly/recurly-client-ruby/pull/978) ([recurly-integrations](https://github.com/recurly-integrations))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [4.85.1](https://github.com/recurly/recurly-client-ruby/tree/4.85.1) (2026-10-23)
|
|
15
|
+
|
|
16
|
+
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.85.0...4.85.1)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
**Merged Pull Requests**
|
|
20
|
+
|
|
21
|
+
- Generated Latest Changes for v2021-02-25 [#976](https://github.com/recurly/recurly-client-ruby/pull/976) ([recurly-integrations](https://github.com/recurly-integrations))
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
3
25
|
## [4.85.0](https://github.com/recurly/recurly-client-ruby/tree/4.85.0) (2026-10-22)
|
|
4
26
|
|
|
5
27
|
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.84.0...4.85.0)
|
|
@@ -699,6 +721,350 @@
|
|
|
699
721
|
|
|
700
722
|
## [4.22.0](https://github.com/recurly/recurly-client-ruby/tree/4.22.0) (2022-10-21)
|
|
701
723
|
|
|
724
|
+
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.21.1...4.22.0)
|
|
725
|
+
|
|
726
|
+
|
|
727
|
+
**Merged Pull Requests**
|
|
728
|
+
|
|
729
|
+
- Generated Latest Changes for v2021-02-25(Decimal Usage and Quantities and DunningEvent new fields) [#801](https://github.com/recurly/recurly-client-ruby/pull/801) ([recurly-integrations](https://github.com/recurly-integrations))
|
|
730
|
+
|
|
731
|
+
|
|
732
|
+
|
|
733
|
+
## [4.21.1](https://github.com/recurly/recurly-client-ruby/tree/4.21.1) (2022-09-08)
|
|
734
|
+
|
|
735
|
+
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.21.0...4.21.1)
|
|
736
|
+
|
|
737
|
+
|
|
738
|
+
**Merged Pull Requests**
|
|
739
|
+
|
|
740
|
+
- Generated Latest Changes for v2021-02-25 [#792](https://github.com/recurly/recurly-client-ruby/pull/792) ([recurly-integrations](https://github.com/recurly-integrations))
|
|
741
|
+
|
|
742
|
+
|
|
743
|
+
|
|
744
|
+
## [4.21.0](https://github.com/recurly/recurly-client-ruby/tree/4.21.0) (2022-09-07)
|
|
745
|
+
|
|
746
|
+
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.20.0...4.21.0)
|
|
747
|
+
|
|
748
|
+
|
|
749
|
+
**Merged Pull Requests**
|
|
750
|
+
|
|
751
|
+
- Generated Latest Changes for v2021-02-25 [#790](https://github.com/recurly/recurly-client-ruby/pull/790) ([recurly-integrations](https://github.com/recurly-integrations))
|
|
752
|
+
- Fixes bug with put_dunning_campaign_bulk_update [#788](https://github.com/recurly/recurly-client-ruby/pull/788) ([recurly-integrations](https://github.com/recurly-integrations))
|
|
753
|
+
|
|
754
|
+
|
|
755
|
+
|
|
756
|
+
## [4.20.0](https://github.com/recurly/recurly-client-ruby/tree/4.20.0) (2022-08-03)
|
|
757
|
+
|
|
758
|
+
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.19.0...4.20.0)
|
|
759
|
+
|
|
760
|
+
|
|
761
|
+
**Merged Pull Requests**
|
|
762
|
+
|
|
763
|
+
- Generated Latest Changes for v2021-02-25 [#783](https://github.com/recurly/recurly-client-ruby/pull/783) ([recurly-integrations](https://github.com/recurly-integrations))
|
|
764
|
+
|
|
765
|
+
|
|
766
|
+
|
|
767
|
+
## [4.19.0](https://github.com/recurly/recurly-client-ruby/tree/4.19.0) (2022-07-11)
|
|
768
|
+
|
|
769
|
+
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.18.0...4.19.0)
|
|
770
|
+
|
|
771
|
+
|
|
772
|
+
**Merged Pull Requests**
|
|
773
|
+
|
|
774
|
+
- Generated Latest Changes for v2021-02-25 [#778](https://github.com/recurly/recurly-client-ruby/pull/778) ([recurly-integrations](https://github.com/recurly-integrations))
|
|
775
|
+
|
|
776
|
+
|
|
777
|
+
|
|
778
|
+
## [4.18.0](https://github.com/recurly/recurly-client-ruby/tree/4.18.0) (2022-06-16)
|
|
779
|
+
|
|
780
|
+
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.17.0...4.18.0)
|
|
781
|
+
|
|
782
|
+
|
|
783
|
+
**Merged Pull Requests**
|
|
784
|
+
|
|
785
|
+
- Generated Latest Changes for v2021-02-25 [#776](https://github.com/recurly/recurly-client-ruby/pull/776) ([recurly-integrations](https://github.com/recurly-integrations))
|
|
786
|
+
|
|
787
|
+
|
|
788
|
+
|
|
789
|
+
## [4.17.0](https://github.com/recurly/recurly-client-ruby/tree/4.17.0) (2022-04-15)
|
|
790
|
+
|
|
791
|
+
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.16.0...4.17.0)
|
|
792
|
+
|
|
793
|
+
|
|
794
|
+
**Merged Pull Requests**
|
|
795
|
+
|
|
796
|
+
- Generated Latest Changes for v2021-02-25 [#766](https://github.com/recurly/recurly-client-ruby/pull/766) ([recurly-integrations](https://github.com/recurly-integrations))
|
|
797
|
+
|
|
798
|
+
|
|
799
|
+
|
|
800
|
+
## [4.16.0](https://github.com/recurly/recurly-client-ruby/tree/4.16.0) (2022-03-24)
|
|
801
|
+
|
|
802
|
+
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.15.0...4.16.0)
|
|
803
|
+
|
|
804
|
+
|
|
805
|
+
**Merged Pull Requests**
|
|
806
|
+
|
|
807
|
+
- Generated Latest Changes for v2021-02-25 (Percentage tiers feature) [#762](https://github.com/recurly/recurly-client-ruby/pull/762) ([recurly-integrations](https://github.com/recurly-integrations))
|
|
808
|
+
|
|
809
|
+
|
|
810
|
+
|
|
811
|
+
## [4.15.0](https://github.com/recurly/recurly-client-ruby/tree/4.15.0) (2022-03-14)
|
|
812
|
+
|
|
813
|
+
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.14.0...4.15.0)
|
|
814
|
+
|
|
815
|
+
|
|
816
|
+
**Merged Pull Requests**
|
|
817
|
+
|
|
818
|
+
- Generated Latest Changes for v2021-02-25 (Percentage tiers feature) [#757](https://github.com/recurly/recurly-client-ruby/pull/757) ([recurly-integrations](https://github.com/recurly-integrations))
|
|
819
|
+
|
|
820
|
+
|
|
821
|
+
|
|
822
|
+
## [4.14.0](https://github.com/recurly/recurly-client-ruby/tree/4.14.0) (2022-03-03)
|
|
823
|
+
|
|
824
|
+
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.13.0...4.14.0)
|
|
825
|
+
|
|
826
|
+
|
|
827
|
+
**Merged Pull Requests**
|
|
828
|
+
|
|
829
|
+
- Generated Latest Changes for v2021-02-25 [#753](https://github.com/recurly/recurly-client-ruby/pull/753) ([recurly-integrations](https://github.com/recurly-integrations))
|
|
830
|
+
|
|
831
|
+
|
|
832
|
+
|
|
833
|
+
## [4.13.0](https://github.com/recurly/recurly-client-ruby/tree/4.13.0) (2022-01-31)
|
|
834
|
+
|
|
835
|
+
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.12.0...4.13.0)
|
|
836
|
+
|
|
837
|
+
|
|
838
|
+
**Merged Pull Requests**
|
|
839
|
+
|
|
840
|
+
- Generated Latest Changes for v2021-02-25 [#747](https://github.com/recurly/recurly-client-ruby/pull/747) ([recurly-integrations](https://github.com/recurly-integrations))
|
|
841
|
+
- Add region argument to client to connect in EU data center [#744](https://github.com/recurly/recurly-client-ruby/pull/744) ([FabricioCoutinho](https://github.com/FabricioCoutinho))
|
|
842
|
+
|
|
843
|
+
|
|
844
|
+
|
|
845
|
+
## [4.12.0](https://github.com/recurly/recurly-client-ruby/tree/4.12.0) (2022-01-28)
|
|
846
|
+
|
|
847
|
+
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.11.0...4.12.0)
|
|
848
|
+
|
|
849
|
+
|
|
850
|
+
**Merged Pull Requests**
|
|
851
|
+
|
|
852
|
+
- Generated Latest Changes for v2021-02-25 (Invoice Customization) [#746](https://github.com/recurly/recurly-client-ruby/pull/746) ([recurly-integrations](https://github.com/recurly-integrations))
|
|
853
|
+
- Generated Latest Changes for v2021-02-25 [#743](https://github.com/recurly/recurly-client-ruby/pull/743) ([recurly-integrations](https://github.com/recurly-integrations))
|
|
854
|
+
|
|
855
|
+
|
|
856
|
+
|
|
857
|
+
## [4.11.0](https://github.com/recurly/recurly-client-ruby/tree/4.11.0) (2021-12-29)
|
|
858
|
+
|
|
859
|
+
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.10.0...4.11.0)
|
|
860
|
+
|
|
861
|
+
|
|
862
|
+
**Merged Pull Requests**
|
|
863
|
+
|
|
864
|
+
- Generated Latest Changes for v2021-02-25 (Tax Inclusive Pricing) [#741](https://github.com/recurly/recurly-client-ruby/pull/741) ([recurly-integrations](https://github.com/recurly-integrations))
|
|
865
|
+
|
|
866
|
+
|
|
867
|
+
|
|
868
|
+
## [4.10.0](https://github.com/recurly/recurly-client-ruby/tree/4.10.0) (2021-11-22)
|
|
869
|
+
|
|
870
|
+
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.9.0...4.10.0)
|
|
871
|
+
|
|
872
|
+
|
|
873
|
+
**Merged Pull Requests**
|
|
874
|
+
|
|
875
|
+
- Generated Latest Changes for v2021-02-25 [#739](https://github.com/recurly/recurly-client-ruby/pull/739) ([recurly-integrations](https://github.com/recurly-integrations))
|
|
876
|
+
- Generated Latest Changes for v2021-02-25 [#736](https://github.com/recurly/recurly-client-ruby/pull/736) ([recurly-integrations](https://github.com/recurly-integrations))
|
|
877
|
+
- Allow API base url configuration [#735](https://github.com/recurly/recurly-client-ruby/pull/735) ([cbarton](https://github.com/cbarton))
|
|
878
|
+
- Generated Latest Changes for v2021-02-25 [#734](https://github.com/recurly/recurly-client-ruby/pull/734) ([recurly-integrations](https://github.com/recurly-integrations))
|
|
879
|
+
- Generated Latest Changes for v2021-02-25 [#728](https://github.com/recurly/recurly-client-ruby/pull/728) ([recurly-integrations](https://github.com/recurly-integrations))
|
|
880
|
+
|
|
881
|
+
|
|
882
|
+
|
|
883
|
+
## [4.9.0](https://github.com/recurly/recurly-client-ruby/tree/4.9.0) (2021-09-16)
|
|
884
|
+
|
|
885
|
+
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.8.0...4.9.0)
|
|
886
|
+
|
|
887
|
+
|
|
888
|
+
**Merged Pull Requests**
|
|
889
|
+
|
|
890
|
+
- Generated Latest Changes for v2021-02-25 (Support to new subscription fields and response) [#725](https://github.com/recurly/recurly-client-ruby/pull/725) ([recurly-integrations](https://github.com/recurly-integrations))
|
|
891
|
+
|
|
892
|
+
|
|
893
|
+
|
|
894
|
+
## [4.8.0](https://github.com/recurly/recurly-client-ruby/tree/4.8.0) (2021-09-01)
|
|
895
|
+
|
|
896
|
+
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.7.0...4.8.0)
|
|
897
|
+
|
|
898
|
+
|
|
899
|
+
**Merged Pull Requests**
|
|
900
|
+
|
|
901
|
+
- Generated Latest Changes for v2021-02-25 (Dunning Campaigns feature) [#724](https://github.com/recurly/recurly-client-ruby/pull/724) ([recurly-integrations](https://github.com/recurly-integrations))
|
|
902
|
+
|
|
903
|
+
|
|
904
|
+
|
|
905
|
+
## [4.7.0](https://github.com/recurly/recurly-client-ruby/tree/4.7.0) (2021-08-19)
|
|
906
|
+
|
|
907
|
+
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.6.0...4.7.0)
|
|
908
|
+
|
|
909
|
+
|
|
910
|
+
**Merged Pull Requests**
|
|
911
|
+
|
|
912
|
+
- Generated Latest Changes for v2021-02-25 (get_preview_renewal) [#722](https://github.com/recurly/recurly-client-ruby/pull/722) ([recurly-integrations](https://github.com/recurly-integrations))
|
|
913
|
+
|
|
914
|
+
|
|
915
|
+
|
|
916
|
+
## [4.6.0](https://github.com/recurly/recurly-client-ruby/tree/4.6.0) (2021-08-11)
|
|
917
|
+
|
|
918
|
+
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.5.0...4.6.0)
|
|
919
|
+
|
|
920
|
+
|
|
921
|
+
**Merged Pull Requests**
|
|
922
|
+
|
|
923
|
+
- Generated Latest Changes for v2021-02-25 [#720](https://github.com/recurly/recurly-client-ruby/pull/720) ([recurly-integrations](https://github.com/recurly-integrations))
|
|
924
|
+
|
|
925
|
+
|
|
926
|
+
|
|
927
|
+
## [4.5.0](https://github.com/recurly/recurly-client-ruby/tree/4.5.0) (2021-08-02)
|
|
928
|
+
|
|
929
|
+
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.4.0...4.5.0)
|
|
930
|
+
|
|
931
|
+
|
|
932
|
+
**Merged Pull Requests**
|
|
933
|
+
|
|
934
|
+
- Generated Latest Changes for v2021-02-25 [#714](https://github.com/recurly/recurly-client-ruby/pull/714) ([recurly-integrations](https://github.com/recurly-integrations))
|
|
935
|
+
|
|
936
|
+
|
|
937
|
+
|
|
938
|
+
## [4.4.0](https://github.com/recurly/recurly-client-ruby/tree/4.4.0) (2021-06-15)
|
|
939
|
+
|
|
940
|
+
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.3.0...4.4.0)
|
|
941
|
+
|
|
942
|
+
|
|
943
|
+
**Merged Pull Requests**
|
|
944
|
+
|
|
945
|
+
- Generated Latest Changes for v2021-02-25 [#705](https://github.com/recurly/recurly-client-ruby/pull/705) ([recurly-integrations](https://github.com/recurly-integrations))
|
|
946
|
+
|
|
947
|
+
|
|
948
|
+
|
|
949
|
+
## [4.3.0](https://github.com/recurly/recurly-client-ruby/tree/4.3.0) (2021-06-04)
|
|
950
|
+
|
|
951
|
+
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.2.0...4.3.0)
|
|
952
|
+
|
|
953
|
+
|
|
954
|
+
**Merged Pull Requests**
|
|
955
|
+
|
|
956
|
+
- Generated Latest Changes for v2021-02-25 [#702](https://github.com/recurly/recurly-client-ruby/pull/702) ([recurly-integrations](https://github.com/recurly-integrations))
|
|
957
|
+
- Making #post allow a nil body [#699](https://github.com/recurly/recurly-client-ruby/pull/699) ([douglasmiller](https://github.com/douglasmiller))
|
|
958
|
+
|
|
959
|
+
|
|
960
|
+
|
|
961
|
+
## [4.2.0](https://github.com/recurly/recurly-client-ruby/tree/4.2.0) (2021-04-21)
|
|
962
|
+
|
|
963
|
+
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.1.0...4.2.0)
|
|
964
|
+
|
|
965
|
+
|
|
966
|
+
**Merged Pull Requests**
|
|
967
|
+
|
|
968
|
+
- Generated Latest Changes for v2021-02-25 [#695](https://github.com/recurly/recurly-client-ruby/pull/695) ([recurly-integrations](https://github.com/recurly-integrations))
|
|
969
|
+
|
|
970
|
+
|
|
971
|
+
|
|
972
|
+
## [4.1.0](https://github.com/recurly/recurly-client-ruby/tree/4.1.0) (2021-04-14)
|
|
973
|
+
|
|
974
|
+
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.0.1...4.1.0)
|
|
975
|
+
|
|
976
|
+
|
|
977
|
+
**Merged Pull Requests**
|
|
978
|
+
|
|
979
|
+
- Generated Latest Changes for v2021-02-25 (Backup Payment Method) [#691](https://github.com/recurly/recurly-client-ruby/pull/691) ([recurly-integrations](https://github.com/recurly-integrations))
|
|
980
|
+
- Generated Latest Changes for v2021-02-25 [#687](https://github.com/recurly/recurly-client-ruby/pull/687) ([recurly-integrations](https://github.com/recurly-integrations))
|
|
981
|
+
- Restoring NetworkError and it's derivatives [#685](https://github.com/recurly/recurly-client-ruby/pull/685) ([douglasmiller](https://github.com/douglasmiller))
|
|
982
|
+
- Generated Latest Changes for v2021-02-25 (Usage Percentage on Tiers) [#683](https://github.com/recurly/recurly-client-ruby/pull/683) ([recurly-integrations](https://github.com/recurly-integrations))
|
|
983
|
+
- Fixes TypeError caused by attempts to Base64 encode nil @api_key values [#672](https://github.com/recurly/recurly-client-ruby/pull/672) ([alexfulsome](https://github.com/alexfulsome))
|
|
984
|
+
|
|
985
|
+
|
|
986
|
+
|
|
987
|
+
## [4.0.1](https://github.com/recurly/recurly-client-ruby/tree/4.0.1) (2021-03-19)
|
|
988
|
+
|
|
989
|
+
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.0.0...4.0.1)
|
|
990
|
+
|
|
991
|
+
|
|
992
|
+
**Merged Pull Requests**
|
|
702
993
|
|
|
994
|
+
- Release 4.0.1 [#682](https://github.com/recurly/recurly-client-ruby/pull/682) ([douglasmiller](https://github.com/douglasmiller))
|
|
995
|
+
- More ruby 3.0 [#680](https://github.com/recurly/recurly-client-ruby/pull/680) ([douglasmiller](https://github.com/douglasmiller))
|
|
996
|
+
- Generated Latest Changes for v2021-02-25 [#678](https://github.com/recurly/recurly-client-ruby/pull/678) ([recurly-integrations](https://github.com/recurly-integrations))
|
|
997
|
+
- Sync updates not ported from 3.x client [#671](https://github.com/recurly/recurly-client-ruby/pull/671) ([douglasmiller](https://github.com/douglasmiller))
|
|
998
|
+
|
|
999
|
+
|
|
1000
|
+
|
|
1001
|
+
## [4.0.0](https://github.com/recurly/recurly-client-ruby/tree/4.0.0) (2021-03-01)
|
|
1002
|
+
|
|
1003
|
+
|
|
1004
|
+
# Major Version Release
|
|
1005
|
+
|
|
1006
|
+
The 4.x major version of the client pairs with the `v2021-02-25` API version. This version of the client and the API contain breaking changes that should be considered before upgrading your integration.
|
|
1007
|
+
|
|
1008
|
+
## Breaking Changes in the API
|
|
1009
|
+
All changes to the core API are documented in the [Developer Portal changelog](https://developers.recurly.com/api/changelog.html#v2021-02-25---current-ga-version)
|
|
1010
|
+
|
|
1011
|
+
## Breaking Changes in Client
|
|
1012
|
+
|
|
1013
|
+
- Remove `site_id` and `subdomain` from client initializer. [#624]
|
|
1014
|
+
- Remove `set_site_id` method from client. [#627]
|
|
1015
|
+
- Classify unexpected error responses from Recurly API via an HTTP status code mapping provided in `Recurly::Errors::ERROR_MAP`. [#616]
|
|
1016
|
+
- Remove `NetworkError` class. All error classes now extend the `APIError`. This means that the order of multiple rescue blocks will need to be re-considered. [#616]
|
|
1017
|
+
|
|
1018
|
+
### 3.x
|
|
1019
|
+
|
|
1020
|
+
```ruby
|
|
1021
|
+
rescue Recurly::Errors::ValidationError => ex
|
|
1022
|
+
# catch a validation error
|
|
1023
|
+
rescue Recurly::Errors::APIError => ex
|
|
1024
|
+
# catch a generic api error
|
|
1025
|
+
rescue Recurly::Errors::TimeoutError => ex
|
|
1026
|
+
# catch a specific network error
|
|
1027
|
+
```
|
|
1028
|
+
|
|
1029
|
+
### 4.x
|
|
1030
|
+
|
|
1031
|
+
```ruby
|
|
1032
|
+
rescue Recurly::Errors::ValidationError => ex
|
|
1033
|
+
# catch a validation error
|
|
1034
|
+
rescue Recurly::Errors::TimeoutError => ex
|
|
1035
|
+
# catch a specific network error
|
|
1036
|
+
rescue Recurly::Errors::APIError => ex
|
|
1037
|
+
# catch a generic api error
|
|
1038
|
+
```
|
|
1039
|
+
|
|
1040
|
+
- Rename `InvalidResponseError` to `InvalidContentTypeError`. [#616]
|
|
1041
|
+
- Rename `UnavailableError` to `ServiceUnavailableError`. [#616]
|
|
1042
|
+
- Reorganize top-level keys of the optional parameters hash to improve clarity and create space for additional options. [#619]
|
|
1043
|
+
|
|
1044
|
+
### 3.x
|
|
1045
|
+
|
|
1046
|
+
```ruby
|
|
1047
|
+
options = {
|
|
1048
|
+
limit: 200,
|
|
1049
|
+
headers: {
|
|
1050
|
+
'Accept-Language' => 'fr'
|
|
1051
|
+
}
|
|
1052
|
+
}
|
|
1053
|
+
accounts = @client.list_accounts(options)
|
|
1054
|
+
```
|
|
1055
|
+
|
|
1056
|
+
### 4.x
|
|
1057
|
+
|
|
1058
|
+
```ruby
|
|
1059
|
+
options = {
|
|
1060
|
+
params: {
|
|
1061
|
+
limit: 200
|
|
1062
|
+
}
|
|
1063
|
+
headers: {
|
|
1064
|
+
'Accept-Language' => 'fr'
|
|
1065
|
+
}
|
|
1066
|
+
}
|
|
1067
|
+
accounts = @client.list_accounts(options)
|
|
1068
|
+
```
|
|
703
1069
|
|
|
704
1070
|
|
data/GETTING_STARTED.md
CHANGED
|
@@ -5,7 +5,7 @@ This repository houses the official ruby client for Recurly's V3 API.
|
|
|
5
5
|
In your Gemfile, add `recurly` as a dependency.
|
|
6
6
|
|
|
7
7
|
```ruby
|
|
8
|
-
gem 'recurly', '~> 4.
|
|
8
|
+
gem 'recurly', '~> 4.86'
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
> *Note*: We try to follow [semantic versioning](https://semver.org/) and will only apply breaking changes to major versions.
|
|
@@ -261,30 +261,6 @@ gn2Z9DH2canPLAEnpQW5qrJITirvn5NSUZU8UnOOVkwXQMAJKOSLakhT2+zNVVXxxvjpoixMptEm
|
|
|
261
261
|
X36vWkzaH6byHCx+rgIW0lbQL1dTR+iS
|
|
262
262
|
-----END CERTIFICATE-----
|
|
263
263
|
|
|
264
|
-
Comodo AAA Services root
|
|
265
|
-
========================
|
|
266
|
-
-----BEGIN CERTIFICATE-----
|
|
267
|
-
MIIEMjCCAxqgAwIBAgIBATANBgkqhkiG9w0BAQUFADB7MQswCQYDVQQGEwJHQjEbMBkGA1UECAwS
|
|
268
|
-
R3JlYXRlciBNYW5jaGVzdGVyMRAwDgYDVQQHDAdTYWxmb3JkMRowGAYDVQQKDBFDb21vZG8gQ0Eg
|
|
269
|
-
TGltaXRlZDEhMB8GA1UEAwwYQUFBIENlcnRpZmljYXRlIFNlcnZpY2VzMB4XDTA0MDEwMTAwMDAw
|
|
270
|
-
MFoXDTI4MTIzMTIzNTk1OVowezELMAkGA1UEBhMCR0IxGzAZBgNVBAgMEkdyZWF0ZXIgTWFuY2hl
|
|
271
|
-
c3RlcjEQMA4GA1UEBwwHU2FsZm9yZDEaMBgGA1UECgwRQ29tb2RvIENBIExpbWl0ZWQxITAfBgNV
|
|
272
|
-
BAMMGEFBQSBDZXJ0aWZpY2F0ZSBTZXJ2aWNlczCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
|
|
273
|
-
ggEBAL5AnfRu4ep2hxxNRUSOvkbIgwadwSr+GB+O5AL686tdUIoWMQuaBtDFcCLNSS1UY8y2bmhG
|
|
274
|
-
C1Pqy0wkwLxyTurxFa70VJoSCsN6sjNg4tqJVfMiWPPe3M/vg4aijJRPn2jymJBGhCfHdr/jzDUs
|
|
275
|
-
i14HZGWCwEiwqJH5YZ92IFCokcdmtet4YgNW8IoaE+oxox6gmf049vYnMlhvB/VruPsUK6+3qszW
|
|
276
|
-
Y19zjNoFmag4qMsXeDZRrOme9Hg6jc8P2ULimAyrL58OAd7vn5lJ8S3frHRNG5i1R8XlKdH5kBjH
|
|
277
|
-
Ypy+g8cmez6KJcfA3Z3mNWgQIJ2P2N7Sw4ScDV7oL8kCAwEAAaOBwDCBvTAdBgNVHQ4EFgQUoBEK
|
|
278
|
-
Iz6W8Qfs4q8p74Klf9AwpLQwDgYDVR0PAQH/BAQDAgEGMA8GA1UdEwEB/wQFMAMBAf8wewYDVR0f
|
|
279
|
-
BHQwcjA4oDagNIYyaHR0cDovL2NybC5jb21vZG9jYS5jb20vQUFBQ2VydGlmaWNhdGVTZXJ2aWNl
|
|
280
|
-
cy5jcmwwNqA0oDKGMGh0dHA6Ly9jcmwuY29tb2RvLm5ldC9BQUFDZXJ0aWZpY2F0ZVNlcnZpY2Vz
|
|
281
|
-
LmNybDANBgkqhkiG9w0BAQUFAAOCAQEACFb8AvCb6P+k+tZ7xkSAzk/ExfYAWMymtrwUSWgEdujm
|
|
282
|
-
7l3sAg9g1o1QGE8mTgHj5rCl7r+8dFRBv/38ErjHT1r0iWAFf2C3BUrz9vHCv8S5dIa2LX1rzNLz
|
|
283
|
-
Rt0vxuBqw8M0Ayx9lt1awg6nCpnBBYurDC/zXDrPbDdVCYfeU0BsWO/8tqtlbgT2G9w84FoVxp7Z
|
|
284
|
-
8VlIMCFlA2zs6SFz7JsDoeA3raAVGI/6ugLOpyypEBMs1OUIJqsil2D4kF501KKaU73yqWjgom7C
|
|
285
|
-
12yxow+ev+to51byrvLjKzg6CYG1a4XXvi3tPxq3smPi9WIsgtRqAEFQ8TmDn5XpNpaYbg==
|
|
286
|
-
-----END CERTIFICATE-----
|
|
287
|
-
|
|
288
264
|
QuoVadis Root CA
|
|
289
265
|
================
|
|
290
266
|
-----BEGIN CERTIFICATE-----
|
|
@@ -3347,22 +3323,6 @@ U80Bv2noWgbyRQuQ+q7hv53yrlc8pa6yVvSLZUDp/TGBLPQ5Cdjua6e0ph0VpZj3AYHYhX3zUVxx
|
|
|
3347
3323
|
iN66zB+Afko=
|
|
3348
3324
|
-----END CERTIFICATE-----
|
|
3349
3325
|
|
|
3350
|
-
emSign ECC Root CA - G3
|
|
3351
|
-
=======================
|
|
3352
|
-
-----BEGIN CERTIFICATE-----
|
|
3353
|
-
MIICTjCCAdOgAwIBAgIKPPYHqWhwDtqLhDAKBggqhkjOPQQDAzBrMQswCQYDVQQGEwJJTjETMBEG
|
|
3354
|
-
A1UECxMKZW1TaWduIFBLSTElMCMGA1UEChMcZU11ZGhyYSBUZWNobm9sb2dpZXMgTGltaXRlZDEg
|
|
3355
|
-
MB4GA1UEAxMXZW1TaWduIEVDQyBSb290IENBIC0gRzMwHhcNMTgwMjE4MTgzMDAwWhcNNDMwMjE4
|
|
3356
|
-
MTgzMDAwWjBrMQswCQYDVQQGEwJJTjETMBEGA1UECxMKZW1TaWduIFBLSTElMCMGA1UEChMcZU11
|
|
3357
|
-
ZGhyYSBUZWNobm9sb2dpZXMgTGltaXRlZDEgMB4GA1UEAxMXZW1TaWduIEVDQyBSb290IENBIC0g
|
|
3358
|
-
RzMwdjAQBgcqhkjOPQIBBgUrgQQAIgNiAAQjpQy4LRL1KPOxst3iAhKAnjlfSU2fySU0WXTsuwYc
|
|
3359
|
-
58Byr+iuL+FBVIcUqEqy6HyC5ltqtdyzdc6LBtCGI79G1Y4PPwT01xySfvalY8L1X44uT6EYGQIr
|
|
3360
|
-
MgqCZH0Wk9GjQjBAMB0GA1UdDgQWBBR8XQKEE9TMipuBzhccLikenEhjQjAOBgNVHQ8BAf8EBAMC
|
|
3361
|
-
AQYwDwYDVR0TAQH/BAUwAwEB/zAKBggqhkjOPQQDAwNpADBmAjEAvvNhzwIQHWSVB7gYboiFBS+D
|
|
3362
|
-
CBeQyh+KTOgNG3qxrdWBCUfvO6wIBHxcmbHtRwfSAjEAnbpV/KlK6O3t5nYBQnvI+GDZjVGLVTv7
|
|
3363
|
-
jHvrZQnD+JbNR6iC8hZVdyR+EhCVBCyj
|
|
3364
|
-
-----END CERTIFICATE-----
|
|
3365
|
-
|
|
3366
3326
|
emSign Root CA - C1
|
|
3367
3327
|
===================
|
|
3368
3328
|
-----BEGIN CERTIFICATE-----
|
|
@@ -30,6 +30,10 @@ module Recurly
|
|
|
30
30
|
# @return [String] UPI Autopay authentication method. Specifies how the customer authorizes the enrollment mandate. Defaults to 'vpa' if omitted.
|
|
31
31
|
define_attribute :authentication_method, String
|
|
32
32
|
|
|
33
|
+
# @!attribute backup_gateway_code
|
|
34
|
+
# @return [String] Identifies a backup gateway. Applies only when `gateway_code` is provided and that gateway is in failover. Providing this code overrides gateway exclusion configurations and restricts the backup to this gateway.
|
|
35
|
+
define_attribute :backup_gateway_code, String
|
|
36
|
+
|
|
33
37
|
# @!attribute backup_payment_method
|
|
34
38
|
# @return [Boolean] The `backup_payment_method` field is used to designate a billing info as a backup on the account that will be tried if the initial billing info used for an invoice is declined. All payment methods, including the billing info marked `primary_payment_method` can be set as a backup. An account can have a maximum of 1 backup, if a user sets a different payment method as a backup, the existing backup will no longer be marked as such.
|
|
35
39
|
define_attribute :backup_payment_method, :Boolean
|
|
@@ -134,6 +138,10 @@ module Recurly
|
|
|
134
138
|
# @return [String] Bank identifier code for UK based banks. Required for Bacs based billing infos. (Bacs only)
|
|
135
139
|
define_attribute :sort_code, String
|
|
136
140
|
|
|
141
|
+
# @!attribute store_billing_info
|
|
142
|
+
# @return [Boolean] Whether to store this billing info onto its associated account. Defaults to `true`.
|
|
143
|
+
define_attribute :store_billing_info, :Boolean
|
|
144
|
+
|
|
137
145
|
# @!attribute tax_identifier
|
|
138
146
|
# @return [String] Tax identifier is required if adding a billing info that is a consumer card in Brazil or in Argentina. This would be the customer's CPF/CNPJ (Brazil) and CUIT (Argentina). CPF, CNPJ and CUIT are tax identifiers for all residents who pay taxes in Brazil and Argentina respectively.
|
|
139
147
|
define_attribute :tax_identifier, String
|
|
@@ -7,7 +7,7 @@ module Recurly
|
|
|
7
7
|
class PaymentGatewayReferences < Request
|
|
8
8
|
|
|
9
9
|
# @!attribute reference_type
|
|
10
|
-
# @return [String] The type of reference token.
|
|
10
|
+
# @return [String] The type of reference token. The value can be omitted for gateways that only support one type of token.
|
|
11
11
|
define_attribute :reference_type, String
|
|
12
12
|
|
|
13
13
|
# @!attribute token
|
|
@@ -7,7 +7,7 @@ module Recurly
|
|
|
7
7
|
class PaymentGatewayReferences < Resource
|
|
8
8
|
|
|
9
9
|
# @!attribute reference_type
|
|
10
|
-
# @return [String] The type of reference token.
|
|
10
|
+
# @return [String] The type of reference token. The value can be omitted for gateways that only support one type of token.
|
|
11
11
|
define_attribute :reference_type, String
|
|
12
12
|
|
|
13
13
|
# @!attribute token
|
|
@@ -58,6 +58,10 @@ module Recurly
|
|
|
58
58
|
# @return [PlanMini] Just the important parts.
|
|
59
59
|
define_attribute :plan, :PlanMini
|
|
60
60
|
|
|
61
|
+
# @!attribute price_segment_id
|
|
62
|
+
# @return [String] The price segment ID, e.g. `e28zov4fw0v2`.
|
|
63
|
+
define_attribute :price_segment_id, String
|
|
64
|
+
|
|
61
65
|
# @!attribute quantity
|
|
62
66
|
# @return [Integer] Subscription quantity
|
|
63
67
|
define_attribute :quantity, Integer
|
data/lib/recurly/version.rb
CHANGED