Class: Dependabot::Nuget::UpdateChecker::RepositoryFinder

Inherits:
Object
  • Object
show all
Defined in:
lib/dependabot/nuget/update_checker/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_files: []) ⇒ RepositoryFinder

Returns a new instance of RepositoryFinder.


15
16
17
18
19
# File 'lib/dependabot/nuget/update_checker/repository_finder.rb', line 15

def initialize(dependency:, credentials:, config_files: [])
  @dependency  = dependency
  @credentials = credentials
  @config_files = config_files
end

Instance Method Details

#dependency_urlsObject


21
22
23
# File 'lib/dependabot/nuget/update_checker/repository_finder.rb', line 21

def dependency_urls
  find_dependency_urls
end