Class: Packages::GroupOrProjectPackageFinder

Inherits:
Object
  • Object
show all
Includes:
FinderHelper
Defined in:
app/finders/packages/group_or_project_package_finder.rb

Constant Summary

Constants included from FinderHelper

FinderHelper::InvalidPackageTypeError, FinderHelper::InvalidStatusError

Instance Method Summary collapse

Constructor Details

#initialize(current_user, project_or_group, params = {}) ⇒ GroupOrProjectPackageFinder

Returns a new instance of GroupOrProjectPackageFinder.


7
8
9
10
11
# File 'app/finders/packages/group_or_project_package_finder.rb', line 7

def initialize(current_user, project_or_group, params = {})
  @current_user = current_user
  @project_or_group = project_or_group
  @params = params
end

Instance Method Details

#executeObject

Raises:

  • (NotImplementedError)

13
14
15
# File 'app/finders/packages/group_or_project_package_finder.rb', line 13

def execute
  raise NotImplementedError
end

#execute!Object

Raises:

  • (NotImplementedError)

17
18
19
# File 'app/finders/packages/group_or_project_package_finder.rb', line 17

def execute!
  raise NotImplementedError
end