Class: Dependabot::Nuget::UpdateChecker::RepositoryFinder
- Inherits:
-
Object
- Object
- Dependabot::Nuget::UpdateChecker::RepositoryFinder
- 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
- #dependency_urls ⇒ Object
-
#initialize(dependency:, credentials:, config_file: nil) ⇒ RepositoryFinder
constructor
A new instance of RepositoryFinder.
Constructor Details
#initialize(dependency:, credentials:, config_file: nil) ⇒ 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_file: nil) @dependency = dependency @credentials = credentials @config_file = config_file end |
Instance Method Details
#dependency_urls ⇒ Object
21 22 23 |
# File 'lib/dependabot/nuget/update_checker/repository_finder.rb', line 21 def dependency_urls find_dependency_urls end |