Sha256: a422d557d9e6b8c5157930963651f2b5ebd2bb96c3cb212e56195f3bc3cd743e

Contents?: true

Size: 148 Bytes

Versions: 4

Compression:

Stored size: 148 Bytes

Contents

module Workarea
  decorate Categorization, with: :listrak do
    def secondary_model
      to_models.sort_by(&:created_at).second
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
workarea-listrak-5.0.4 app/queries/workarea/categorization.decorator
workarea-listrak-5.0.3 app/queries/workarea/categorization.decorator
workarea-listrak-5.0.2 app/queries/workarea/categorization.decorator
workarea-listrak-5.0.1 app/queries/workarea/categorization.decorator