Fix line item creation on order handler
handle edge case where a shipment has no shipping_method
Add support for filtering push_objects
make sure we also find the state when the abbr is given.
filter out not used model attributes
remove binding.pry
filter the attributes on update as well.
add spec to filter out non existing attributes
add channel to order/shipment serializer. Fixes #3
return the order.ship_address when shipment.address is nil
Push state abbr by default for addresses
Search by state abbr, name or default to setting state_name in shipment handlers
set the shipment state to the "status" field from the wombat shipment hash
try with this for the state
this is the only way..
no more coding at midnight
update the order after updating the shipment to make sure the order is marked shipped as well when the shipment is shipped.
state is an attribute on the Shipment model.. no need to manualy set it.
filter out custom attributes for Orders
filter the product attributes as well
make sure we filter the Spree::Variant attributes as well.