Class: Dependabot::GitMetadataFetcher::GitResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(body:, status:) ⇒ GitResponse

Returns a new instance of GitResponse.



27
28
29
30
# File 'lib/dependabot/git_metadata_fetcher.rb', line 27

def initialize(body:, status:)
  @body = body
  @status = status
end

Instance Attribute Details

#bodyObject (readonly)

Returns the value of attribute body.



21
22
23
# File 'lib/dependabot/git_metadata_fetcher.rb', line 21

def body
  @body
end

#statusObject (readonly)

Returns the value of attribute status.



24
25
26
# File 'lib/dependabot/git_metadata_fetcher.rb', line 24

def status
  @status
end