easypost 7.6.0 → 7.7.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/.github/workflows/ci.yml +3 -4
- data/CHANGELOG.md +4 -0
- data/README.md +1 -1
- data/VERSION +1 -1
- data/lib/easypost/services/fedex_registration.rb +4 -5
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 534c7528c31e97905421ff568c4be1c7ecbf40c31076e88b6ddc478b9d575195
|
|
4
|
+
data.tar.gz: 2974a9825943882b0cace44872c168a3a32c23046c31efe0f60a4c400e5535f0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 600587051b3ea572f2bd7b70f93a39c65d0176ff12e9af839e9208e3ee77ca52b619f5472ee2ecf55d77a7b099dc6ea9e4993ad33a03f7df4f02bea40ca0b2e7
|
|
7
|
+
data.tar.gz: 0ae763e30076817442388d26f734c42ed6c625a9f29aad92f494aa1b72ddfa6b51942820c898830b2cd5b786d08a2ec56f7aad12ec8366bb0a020b194fc6b5ff
|
data/.github/workflows/ci.yml
CHANGED
|
@@ -24,12 +24,11 @@ jobs:
|
|
|
24
24
|
run: just install
|
|
25
25
|
- name: run tests
|
|
26
26
|
run: EASYPOST_TEST_API_KEY=123 EASYPOST_PROD_API_KEY=123 just test
|
|
27
|
-
- name:
|
|
27
|
+
- name: Coverage
|
|
28
28
|
if: github.ref == 'refs/heads/master'
|
|
29
|
-
uses:
|
|
29
|
+
uses: codecov/codecov-action@v5
|
|
30
30
|
with:
|
|
31
|
-
|
|
32
|
-
path-to-lcov: './coverage/lcov/easypost-ruby.lcov'
|
|
31
|
+
token: ${{ secrets.CODECOV_TOKEN }}
|
|
33
32
|
lint:
|
|
34
33
|
runs-on: ubuntu-latest
|
|
35
34
|
steps:
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# EasyPost Ruby Client Library
|
|
2
2
|
|
|
3
3
|
[](https://github.com/EasyPost/easypost-ruby/actions?query=workflow%3ACI)
|
|
4
|
-
[](https://codecov.io/gh/EasyPost/easypost-ruby)
|
|
5
5
|
[](https://badge.fury.io/rb/easypost)
|
|
6
6
|
|
|
7
7
|
EasyPost, the simple shipping solution. You can sign up for an account at <https://easypost.com>.
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
7.
|
|
1
|
+
7.7.0
|
|
@@ -14,11 +14,10 @@ class EasyPost::Services::FedexRegistration < EasyPost::Services::Service
|
|
|
14
14
|
end
|
|
15
15
|
|
|
16
16
|
# Request a PIN for FedEx account verification.
|
|
17
|
-
def request_pin(fedex_account_number, pin_method_option)
|
|
18
|
-
wrapped_params =
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
},
|
|
17
|
+
def request_pin(fedex_account_number, pin_method_option, params = {})
|
|
18
|
+
wrapped_params = wrap_pin_validation(params)
|
|
19
|
+
wrapped_params[:pin_method] = {
|
|
20
|
+
option: pin_method_option,
|
|
22
21
|
}
|
|
23
22
|
endpoint = "fedex_registrations/#{fedex_account_number}/pin"
|
|
24
23
|
|