Class: Dependabot::MetadataFinders::Base::ChangelogFile
- Inherits:
-
Object
- Object
- Dependabot::MetadataFinders::Base::ChangelogFile
- Extended by:
- T::Sig
- Defined in:
- lib/dependabot/metadata_finders/base/changelog_finder.rb
Instance Attribute Summary collapse
-
#download_url ⇒ Object
readonly
Returns the value of attribute download_url.
-
#html_url ⇒ Object
readonly
Returns the value of attribute html_url.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
-
#size ⇒ Object
readonly
Returns the value of attribute size.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(name:, type:, size:, html_url:, download_url:, path: nil) ⇒ ChangelogFile
constructor
A new instance of ChangelogFile.
Constructor Details
#initialize(name:, type:, size:, html_url:, download_url:, path: nil) ⇒ ChangelogFile
Returns a new instance of ChangelogFile.
47 48 49 50 51 52 53 54 |
# File 'lib/dependabot/metadata_finders/base/changelog_finder.rb', line 47 def initialize(name:, type:, size:, html_url:, download_url:, path: nil) @name = name @type = type @size = size @html_url = html_url @download_url = download_url @path = path end |
Instance Attribute Details
#download_url ⇒ Object (readonly)
Returns the value of attribute download_url.
32 33 34 |
# File 'lib/dependabot/metadata_finders/base/changelog_finder.rb', line 32 def download_url @download_url end |
#html_url ⇒ Object (readonly)
Returns the value of attribute html_url.
29 30 31 |
# File 'lib/dependabot/metadata_finders/base/changelog_finder.rb', line 29 def html_url @html_url end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
20 21 22 |
# File 'lib/dependabot/metadata_finders/base/changelog_finder.rb', line 20 def name @name end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
35 36 37 |
# File 'lib/dependabot/metadata_finders/base/changelog_finder.rb', line 35 def path @path end |
#size ⇒ Object (readonly)
Returns the value of attribute size.
26 27 28 |
# File 'lib/dependabot/metadata_finders/base/changelog_finder.rb', line 26 def size @size end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
23 24 25 |
# File 'lib/dependabot/metadata_finders/base/changelog_finder.rb', line 23 def type @type end |