debian-mirror-gitlab/app/services/work_items/widgets/base_service.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
326 B
Ruby
Raw Normal View History

2022-08-13 15:12:31 +05:30
# frozen_string_literal: true
module WorkItems
module Widgets
class BaseService < ::BaseService
WidgetError = Class.new(StandardError)
attr_reader :widget, :current_user
def initialize(widget:, current_user:)
@widget = widget
@current_user = current_user
end
end
end
end