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

subscription_entity.rb « jira_connect « serializers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 259cd5b122f7b5a20e320208a8dc885a2f82f2cf (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

class JiraConnect::SubscriptionEntity < Grape::Entity
  include Gitlab::Routing

  expose :created_at
  expose :unlink_path do |subscription|
    jira_connect_subscription_path(subscription)
  end
  expose :namespace, with: JiraConnect::GroupEntity, as: :group
end