Class: Dependabot::MetadataFinders::Base::GitLabRelease

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Defined in:
lib/dependabot/metadata_finders/base/release_finder.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#bodyObject (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_urlObject (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

#nameObject (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_nameObject (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