summaryrefslogtreecommitdiff
path: root/lib/api/entities/unleash_legacy_strategy.rb
blob: 5d5954f8da0e20960fcf0309a6ca1a69d701b2e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# frozen_string_literal: true

module API
  module Entities
    class UnleashLegacyStrategy < Grape::Entity
      expose :name do |strategy|
        strategy['name']
      end
      expose :parameters do |strategy|
        strategy['parameters']
      end
    end
  end
end