Sha256: afee07e36e4cf396d07b08b22316414168821b317857611598700a1843c15ce7

Contents?: true

Size: 398 Bytes

Versions: 23

Compression:

Stored size: 398 Bytes

Contents

module Dorsale
  module Flyboy
    module SmallData
      class FilterForTasks < ::Dorsale::SmallData::Filter
        STRATEGIES = {
          'status' => FilterStrategyByDone.new("tasks"),
          'owner' => FilterStrategyByOwner.new("tasks")
        }

        def strategy key
          STRATEGIES[key]
        end

        def target
          "tasks"
        end
      end
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
dorsale-2.1.2 app/models/dorsale/flyboy/small_data/filter_for_tasks.rb
dorsale-2.1.1 app/models/dorsale/flyboy/small_data/filter_for_tasks.rb
dorsale-2.1.0 app/models/dorsale/flyboy/small_data/filter_for_tasks.rb