easypost 4.7.0 → 4.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -1
- data/VERSION +1 -1
- data/lib/easypost/customs_info.rb +1 -1
- data/lib/easypost/customs_item.rb +1 -1
- data/lib/easypost/order.rb +1 -1
- data/lib/easypost/parcel.rb +1 -1
- data/lib/easypost/payment_method.rb +1 -1
- data/lib/easypost/pickup.rb +1 -1
- data/lib/easypost/rate.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: 33802b8af58e7efc3e5592c6559dd48dfa5a58cc9338f719c78bc97639f73c51
|
4
|
+
data.tar.gz: 1ec9df3da15eb1169817db4d3610f78826388836995615ec928a80d60e17fcf1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f66b559d5f34005ad16151f3b32b168254efaff625ab06eba13a97ebe1aade1ff40f3d281fed9f32f80016bf662337be2053dc9a74d0f748bff47c67c3f6dd8
|
7
|
+
data.tar.gz: a22e6a0c850f686807aae90db0d81a24f963c045e043dbd497a5078b9b4f5806124782906d78b3e30b760a13cd78daf9c99b4252c58760205d5b7364472f3310
|
data/CHANGELOG.md
CHANGED
@@ -1,9 +1,13 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
+
## v4.7.1 (2022-09-06)
|
4
|
+
|
5
|
+
- Makes not implemented `all` calls match the `EasyPost::Resource` interface so that one can call `.to_json` on them and receive the proper error
|
6
|
+
|
3
7
|
## v4.7.0 (2022-08-25)
|
4
8
|
|
5
9
|
- Moves EndShipper out of beta to the general library namespace
|
6
|
-
- Ensure the Easypost object will respond to `.id` when it has one in
|
10
|
+
- Ensure the Easypost object will respond to `.id` when it has one in `@values`
|
7
11
|
|
8
12
|
## v4.6.0 (2022-08-02)
|
9
13
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
4.7.
|
1
|
+
4.7.1
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# CustomsInfo objects contain CustomsItem objects and all necessary information for the generation of customs forms required for international shipping.
|
4
4
|
class EasyPost::CustomsInfo < EasyPost::Resource
|
5
5
|
# Retrieve a list of CustomsInfo objects
|
6
|
-
def self.all
|
6
|
+
def self.all(_filters = {}, _api_key = nil)
|
7
7
|
raise NotImplementedError.new('CustomsInfo.all not implemented.')
|
8
8
|
end
|
9
9
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# A CustomsItem object describes goods for international shipment and should be created then included in a CustomsInfo object.
|
4
4
|
class EasyPost::CustomsItem < EasyPost::Resource
|
5
5
|
# Retrieve a list of CustomsItem objects
|
6
|
-
def self.all
|
6
|
+
def self.all(_filters = {}, _api_key = nil)
|
7
7
|
raise NotImplementedError.new('CustomsItem.all not implemented.')
|
8
8
|
end
|
9
9
|
end
|
data/lib/easypost/order.rb
CHANGED
data/lib/easypost/parcel.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# Parcel objects represent the physical container being shipped.
|
4
4
|
class EasyPost::Parcel < EasyPost::Resource
|
5
5
|
# Retrieving all Parcel objects is not supported.
|
6
|
-
def self.all
|
6
|
+
def self.all(_filters = {}, _api_key = nil)
|
7
7
|
raise NotImplementedError.new('Parcel.all not implemented.')
|
8
8
|
end
|
9
9
|
end
|
@@ -4,7 +4,7 @@
|
|
4
4
|
class EasyPost::PaymentMethod < EasyPost::Resource
|
5
5
|
# <b>DEPRECATED:</b> Please use <tt>Billing class</tt> instead.
|
6
6
|
# Deprecated: v4.5.0 - v6.0.0
|
7
|
-
def self.all(api_key = nil)
|
7
|
+
def self.all(_filters = {}, api_key = nil)
|
8
8
|
warn '[DEPRECATION] `all` is deprecated. Please use `Billing.retrieve_payment_methods` instead.'
|
9
9
|
EasyPost::Billing.retrieve_payment_methods(api_key)
|
10
10
|
end
|
data/lib/easypost/pickup.rb
CHANGED
data/lib/easypost/rate.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# A Rate object contains all the details about the rate of a Shipment.
|
4
4
|
class EasyPost::Rate < EasyPost::Resource
|
5
5
|
# Retrieving all Rate objects is not supported.
|
6
|
-
def self.all
|
6
|
+
def self.all(_filters = {}, _api_key = nil)
|
7
7
|
raise NotImplementedError.new('Rate.all not implemented.')
|
8
8
|
end
|
9
9
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: easypost
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.7.
|
4
|
+
version: 4.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- EasyPost Developers
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-09-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: brakeman
|