Sha256: 3b8438903d28f8b9963eded0a74b042c8660bf1fabb825af7114e1f7b0d14698
Contents?: true
Size: 351 Bytes
Versions: 34
Compression:
Stored size: 351 Bytes
Contents
module Piggybak class Shipment < ActiveRecord::Base belongs_to :order belongs_to :shipping_method belongs_to :line_item validates_presence_of :status validates_presence_of :shipping_method_id attr_accessible :shipping_method_id, :status def status_enum ["new", "processing", "shipped"] end end end
Version data entries
34 entries across 34 versions & 1 rubygems