Sha256: f4fac55884a8fd501bc1f0c8cf85209bf361fdb6cf19ea8400ea76fc79e7299b
Contents?: true
Size: 197 Bytes
Versions: 11
Compression:
Stored size: 197 Bytes
Contents
Spree::Shipment.class_eval do def self.find_by_param(param) if param.to_i > 0 Spree::Shipment.find(param) else Spree::Shipment.where(:number => param).first end end end
Version data entries
11 entries across 11 versions & 1 rubygems