Class: Dependabot::UpdateCheckers::Dotnet::Nuget::RepositoryFinder

Inherits:
Object
  • Object
show all
Defined in:
lib/dependabot/update_checkers/dotnet/nuget/repository_finder.rb

Constant Summary collapse

DEFAULT_REPOSITORY_URL =
"https://api.nuget.org/v3/index.json"

Instance Method Summary collapse

Constructor Details

#initialize(dependency:, credentials:, config_file: nil) ⇒ RepositoryFinder

Returns a new instance of RepositoryFinder.



16
17
18
19
20
# File 'lib/dependabot/update_checkers/dotnet/nuget/repository_finder.rb', line 16

def initialize(dependency:, credentials:, config_file: nil)
  @dependency  = dependency
  @credentials = credentials
  @config_file = config_file
end

Instance Method Details

#dependency_urlsObject



22
23
24
# File 'lib/dependabot/update_checkers/dotnet/nuget/repository_finder.rb', line 22

def dependency_urls
  find_dependency_urls
end