class SimpleShipping::Package

Represents a package which should be sent from {SimpleShipping::Party shipper} to {SimpleShipping::Party recipient}.

Attributes:

Packaging type values:

Attributes

declared_value[RW]
dimension_units[RW]
height[RW]
insured_value[RW]
length[RW]
packaging_type[RW]
weight[RW]
weight_units[RW]
width[RW]

Public Instance Methods

custom_package?() click to toggle source

Whether the package is a custom package.

# File lib/simple_shipping/package.rb, line 39
def custom_package?
  packaging_type == :your
end