class EasyPost::Models::Pickup

The Pickup object allows you to schedule a pickup from your carrier from your customer’s residence or place of business.

Public Instance Methods

lowest_rate(carriers = [], services = []) click to toggle source

Get the lowest rate of a Pickup (can exclude by having ‘’!‘` as the first element of your optional filter lists).

# File lib/easypost/models/pickup.rb, line 6
def lowest_rate(carriers = [], services = [])
  EasyPost::Util.get_lowest_object_rate(self, carriers, services, 'pickup_rates')
end