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