Class: Packages::Nuget::PackageFinder

Inherits:
GroupOrProjectPackageFinder show all
Defined in:
app/finders/packages/nuget/package_finder.rb

Constant Summary collapse

MAX_PACKAGES_COUNT =
300

Constants included from FinderHelper

FinderHelper::InvalidPackageTypeError, FinderHelper::InvalidStatusError

Instance Method Summary collapse

Methods inherited from GroupOrProjectPackageFinder

#execute!, #initialize

Constructor Details

This class inherits a constructor from Packages::GroupOrProjectPackageFinder

Instance Method Details

#executeObject


8
9
10
# File 'app/finders/packages/nuget/package_finder.rb', line 8

def execute
  packages.limit_recent(@params[:limit] || MAX_PACKAGES_COUNT)
end