Class: Dependabot::GitMetadataFetcher::GitResponse
- Inherits:
-
Object
- Object
- Dependabot::GitMetadataFetcher::GitResponse
- Extended by:
- T::Sig
- Defined in:
- lib/dependabot/git_metadata_fetcher.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(body:, status:) ⇒ GitResponse
constructor
A new instance of GitResponse.
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
#body ⇒ Object (readonly)
Returns the value of attribute body.
21 22 23 |
# File 'lib/dependabot/git_metadata_fetcher.rb', line 21 def body @body end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
24 25 26 |
# File 'lib/dependabot/git_metadata_fetcher.rb', line 24 def status @status end |