Module: SolidusBactracs::Spree::ShipmentDecorator::ClassMethods
- Defined in:
- app/decorators/models/solidus_bactracs/spree/shipment_decorator.rb
Instance Method Summary collapse
Instance Method Details
#between(from, to) ⇒ Object
33 34 35 36 37 38 39 40 |
# File 'app/decorators/models/solidus_bactracs/spree/shipment_decorator.rb', line 33 def between(from, to) ::Spree::Deprecation.warn <<~DEPRECATION `Spree::Shipment.between` is deprecated and will be removed in a future version of solidus_bactracs. Please use `SolidusBactracs::Shipment::BetweenQuery.apply`. DEPRECATION SolidusBactracs::Shipment::BetweenQuery.apply(self, from: from, to: to) end |
#exportable ⇒ Object
24 25 26 27 28 29 30 31 |
# File 'app/decorators/models/solidus_bactracs/spree/shipment_decorator.rb', line 24 def exportable ::Spree::Deprecation.warn <<~DEPRECATION `Spree::Shipment.exportable` is deprecated and will be removed in a future version of solidus_bactracs. Please use `SolidusBactracs::Shipment::ExportableQuery.apply`. DEPRECATION SolidusBactracs::Shipment::ExportableQuery.apply(self) end |