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.2.6 app/models/dorsale/flyboy/small_data/filter_for_tasks.rb
dorsale-2.2.5 app/models/dorsale/flyboy/small_data/filter_for_tasks.rb
dorsale-2.2.4 app/models/dorsale/flyboy/small_data/filter_for_tasks.rb
dorsale-2.2.3 app/models/dorsale/flyboy/small_data/filter_for_tasks.rb
dorsale-2.2.2 app/models/dorsale/flyboy/small_data/filter_for_tasks.rb
dorsale-2.2.1 app/models/dorsale/flyboy/small_data/filter_for_tasks.rb
dorsale-2.2.0 app/models/dorsale/flyboy/small_data/filter_for_tasks.rb
dorsale-2.1.15 app/models/dorsale/flyboy/small_data/filter_for_tasks.rb
dorsale-2.1.14 app/models/dorsale/flyboy/small_data/filter_for_tasks.rb
dorsale-2.1.13 app/models/dorsale/flyboy/small_data/filter_for_tasks.rb
dorsale-2.1.12 app/models/dorsale/flyboy/small_data/filter_for_tasks.rb
dorsale-2.1.11 app/models/dorsale/flyboy/small_data/filter_for_tasks.rb
dorsale-2.1.10 app/models/dorsale/flyboy/small_data/filter_for_tasks.rb
dorsale-2.1.9 app/models/dorsale/flyboy/small_data/filter_for_tasks.rb
dorsale-2.1.8 app/models/dorsale/flyboy/small_data/filter_for_tasks.rb
dorsale-2.1.7 app/models/dorsale/flyboy/small_data/filter_for_tasks.rb
dorsale-2.1.6 app/models/dorsale/flyboy/small_data/filter_for_tasks.rb
dorsale-2.1.5 app/models/dorsale/flyboy/small_data/filter_for_tasks.rb
dorsale-2.1.4 app/models/dorsale/flyboy/small_data/filter_for_tasks.rb
dorsale-2.1.3 app/models/dorsale/flyboy/small_data/filter_for_tasks.rb