Class: Dependabot::Python::FileUpdater::PoetryFileUpdater
- Inherits:
-
Object
- Object
- Dependabot::Python::FileUpdater::PoetryFileUpdater
- Defined in:
- lib/dependabot/python/file_updater/poetry_file_updater.rb
Instance Attribute Summary collapse
-
#credentials ⇒ Object
readonly
Returns the value of attribute credentials.
-
#dependencies ⇒ Object
readonly
Returns the value of attribute dependencies.
-
#dependency_files ⇒ Object
readonly
Returns the value of attribute dependency_files.
Instance Method Summary collapse
-
#initialize(dependencies:, dependency_files:, credentials:) ⇒ PoetryFileUpdater
constructor
A new instance of PoetryFileUpdater.
- #updated_dependency_files ⇒ Object
Constructor Details
#initialize(dependencies:, dependency_files:, credentials:) ⇒ PoetryFileUpdater
Returns a new instance of PoetryFileUpdater.
26 27 28 29 30 |
# File 'lib/dependabot/python/file_updater/poetry_file_updater.rb', line 26 def initialize(dependencies:, dependency_files:, credentials:) @dependencies = dependencies @dependency_files = dependency_files @credentials = credentials end |
Instance Attribute Details
#credentials ⇒ Object (readonly)
Returns the value of attribute credentials.
24 25 26 |
# File 'lib/dependabot/python/file_updater/poetry_file_updater.rb', line 24 def credentials @credentials end |
#dependencies ⇒ Object (readonly)
Returns the value of attribute dependencies.
22 23 24 |
# File 'lib/dependabot/python/file_updater/poetry_file_updater.rb', line 22 def dependencies @dependencies end |
#dependency_files ⇒ Object (readonly)
Returns the value of attribute dependency_files.
23 24 25 |
# File 'lib/dependabot/python/file_updater/poetry_file_updater.rb', line 23 def dependency_files @dependency_files end |
Instance Method Details
#updated_dependency_files ⇒ Object
32 33 34 |
# File 'lib/dependabot/python/file_updater/poetry_file_updater.rb', line 32 def updated_dependency_files @updated_dependency_files ||= fetch_updated_dependency_files end |