Sha256: 46d20402f5198104628caf3ebb54cbc89203f425c19b2f869e1e197853cf249e

Contents?: true

Size: 405 Bytes

Versions: 15

Compression:

Stored size: 405 Bytes

Contents

module Dorsale
  module Flyboy
    module SmallData
      class FilterForTasks < ::Dorsale::SmallData::Filter
        STRATEGIES = {
          "fb_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

15 entries across 15 versions & 1 rubygems

Version Path
dorsale-2.3.5 app/models/dorsale/flyboy/small_data/filter_for_tasks.rb
dorsale-2.3.4 app/models/dorsale/flyboy/small_data/filter_for_tasks.rb
dorsale-2.3.3 app/models/dorsale/flyboy/small_data/filter_for_tasks.rb
dorsale-2.3.2 app/models/dorsale/flyboy/small_data/filter_for_tasks.rb
dorsale-2.3.1 app/models/dorsale/flyboy/small_data/filter_for_tasks.rb
dorsale-2.3.0 app/models/dorsale/flyboy/small_data/filter_for_tasks.rb
dorsale-2.2.16 app/models/dorsale/flyboy/small_data/filter_for_tasks.rb
dorsale-2.2.15 app/models/dorsale/flyboy/small_data/filter_for_tasks.rb
dorsale-2.2.14 app/models/dorsale/flyboy/small_data/filter_for_tasks.rb
dorsale-2.2.13 app/models/dorsale/flyboy/small_data/filter_for_tasks.rb
dorsale-2.2.12 app/models/dorsale/flyboy/small_data/filter_for_tasks.rb
dorsale-2.2.11 app/models/dorsale/flyboy/small_data/filter_for_tasks.rb
dorsale-2.2.10 app/models/dorsale/flyboy/small_data/filter_for_tasks.rb
dorsale-2.2.9 app/models/dorsale/flyboy/small_data/filter_for_tasks.rb
dorsale-2.2.8 app/models/dorsale/flyboy/small_data/filter_for_tasks.rb