Sha256: b4c697c289c1583dfe4c634fab29f9402ba7d2115a49b91bef14007012eb9331
Contents?: true
Size: 523 Bytes
Versions: 13
Compression:
Stored size: 523 Bytes
Contents
# frozen_string_literal: true # The workhorse of the EasyPost API, a Shipment is made up of a "to" and "from" Address, the Parcel # being shipped, and any customs forms required for international deliveries. class EasyPost::Models::Shipment < EasyPost::Models::EasyPostObject # Get the lowest rate of a Shipment (can exclude by having `'!'` as the first element of your optional filter lists). def lowest_rate(carriers = [], services = []) EasyPost::Util.get_lowest_object_rate(self, carriers, services) end end
Version data entries
13 entries across 13 versions & 1 rubygems