lib/active_shipping/carrier.rb in active_shipping-1.8.6 vs lib/active_shipping/carrier.rb in active_shipping-1.9.0
- old
+ new
@@ -1,11 +1,11 @@
module ActiveShipping
- # Carrier is abstract the base class for all supported carriers.
+ # Carrier is the abstract base class for all supported carriers.
#
# To implement support for a carrier, you should subclass this class and
- # implement all the methods the carrier supports.
+ # implement all the methods that the carrier supports.
#
# @see #find_rates
# @see #create_shipment
# @see #cancel_shipment
# @see #find_tracking_info
@@ -94,10 +94,10 @@
raise NotImplementedError, "#find_tracking_info is not supported by #{self.class.name}."
end
# Validate credentials with a call to the API.
#
- # By default this just does a `find_rates` call with the orgin and destination both as
+ # By default this just does a `find_rates` call with the origin and destination both as
# the carrier's default_location. Override to provide alternate functionality, such as
# checking for `test_mode` to use test servers, etc.
#
# @return [Boolean] Should return `true` if the provided credentials proved to work,
# `false` otherswise.