Releases: EasyPost/easypost-ruby
Releases · EasyPost/easypost-ruby
v4.10.0
- Added new beta billing functionality for referral customer users, accessible via
EasyPost::Beta::Referral
add_payment_method
to add an existing Stripe bank account or credit card to your EasyPost accountrefund_by_amount
refunds you wallet balance by a specified amountrefund_by_payment_log
refunds you wallet balance by a specified payment log
- Fix bug where bank account and credit card payment methods were not deserializing to the
EasyPost::PaymentMethod
class
v4.9.0
- Routes requests for creating a carrier account with a custom workflow (eg: FedEx, UPS) to the correct endpoint when using the
create
function
v4.8.1
- Concatenates
error.message
if it incorrectly comes back from the API as an array - Treats any HTTP status outside the
2xx
range as an error. Impact expected is minimal as this change only affects1xx
and3xx
HTTP status codes
v4.8.0
- Adds support to buy a shipment by passing in
end_shipper_id
with_carbon_offset
can now alternatively be passed in theparams
parameter of theshipment.buy
function- Migrates Partner White Label (Referrals) to general library namespace and deprecates beta functions
v4.7.1
- Makes not implemented
all
calls match theEasyPost::Resource
interface so that one can call.to_json
on them and receive the proper error
v4.7.0
- Moves EndShipper out of beta to the general library namespace
- Ensure the Easypost object will respond to
.id
when it has one in@values
v4.6.0
- Adds Carbon Offset support
- Adds ability to create a shipment with carbon_offset
- Adds ability to buy a shipment with carbon_offset
- Adds ability to one-call-buy a shipment with carbon_offset
- Adds ability to rerate a shipment with carbon_offset
- Adds
validate_webhook
function that returns your webhook or raises an error if there is awebhook_secret
mismatch - Deprecated
PaymentMethod
class, please useBilling
class for retrieve all payment method function
v4.5.0
- Adds ability to generate shipment forms via
generate_form
function
v4.4.0
- Adds
Billing.retrieve_payment_methods()
,Billing.fund_wallet()
, andBilling.delete_payment_method()
functions - Captures OS information in the user-agent header for easier debugging
- Update functions now use
patch
instead ofput
under the hood to better match API behavior and documentation. The behavior of these functions should remain the same
v3.5.1
- Backports newer user-agent header