Sha256: d1d331bac60681a28d4788f1f0ee94efe4c97cfd4c83a521855ef5e0a2ad110b
Contents?: true
Size: 1.01 KB
Versions: 8
Compression:
Stored size: 1.01 KB
Contents
# frozen_string_literal: true module SolidusBacktracs module Spree module ShipmentDecorator def self.prepended(base) base.singleton_class.prepend ClassMethods end module ClassMethods def exportable ::Spree::Deprecation.warn <<~DEPRECATION `Spree::Shipment.exportable` is deprecated and will be removed in a future version of solidus_backtracs. Please use `SolidusBacktracs::Shipment::ExportableQuery.apply`. DEPRECATION SolidusBacktracs::Shipment::ExportableQuery.apply(self) end def between(from, to) ::Spree::Deprecation.warn <<~DEPRECATION `Spree::Shipment.between` is deprecated and will be removed in a future version of solidus_backtracs. Please use `SolidusBacktracs::Shipment::BetweenQuery.apply`. DEPRECATION SolidusBacktracs::Shipment::BetweenQuery.apply(self, from: from, to: to) end end ::Spree::Shipment.prepend self end end end
Version data entries
8 entries across 8 versions & 2 rubygems