Welcome to mirror list, hosted at ThFree Co, Russian Federation.

unleash_legacy_strategy.rb « entities « api « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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