Class: Dependabot::MetadataFinders::Base::GitLabRelease
- Inherits:
-
Object
- Object
- Dependabot::MetadataFinders::Base::GitLabRelease
- Extended by:
- T::Sig
- Defined in:
- lib/dependabot/metadata_finders/base/release_finder.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
-
#html_url ⇒ Object
readonly
Returns the value of attribute html_url.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#tag_name ⇒ Object
readonly
Returns the value of attribute tag_name.
Instance Method Summary collapse
-
#initialize(name:, tag_name:, body:, html_url:) ⇒ GitLabRelease
constructor
A new instance of GitLabRelease.
Constructor Details
#initialize(name:, tag_name:, body:, html_url:) ⇒ GitLabRelease
Returns a new instance of GitLabRelease.
38 39 40 41 42 43 |
# File 'lib/dependabot/metadata_finders/base/release_finder.rb', line 38 def initialize(name:, tag_name:, body:, html_url:) @name = name @tag_name = tag_name @body = body @html_url = html_url end |
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body.
25 26 27 |
# File 'lib/dependabot/metadata_finders/base/release_finder.rb', line 25 def body @body end |
#html_url ⇒ Object (readonly)
Returns the value of attribute html_url.
28 29 30 |
# File 'lib/dependabot/metadata_finders/base/release_finder.rb', line 28 def html_url @html_url end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
19 20 21 |
# File 'lib/dependabot/metadata_finders/base/release_finder.rb', line 19 def name @name end |
#tag_name ⇒ Object (readonly)
Returns the value of attribute tag_name.
22 23 24 |
# File 'lib/dependabot/metadata_finders/base/release_finder.rb', line 22 def tag_name @tag_name end |