Exception: Escobar::Heroku::BuildRequest::MissingContextsError
- Inherits:
-
Error
- Object
- StandardError
- Error
- Escobar::Heroku::BuildRequest::MissingContextsError
- Defined in:
- lib/escobar/heroku/build_request.rb
Overview
Class representing a rejected GitHub deployment
Direct Known Subclasses
Instance Attribute Summary collapse
-
#missing_contexts ⇒ Object
Returns the value of attribute missing_contexts.
Attributes inherited from Error
Class Method Summary collapse
Methods inherited from Error
#dashboard_url, new_from_build_request
Instance Attribute Details
#missing_contexts ⇒ Object
Returns the value of attribute missing_contexts.
22 23 24 |
# File 'lib/escobar/heroku/build_request.rb', line 22 def missing_contexts @missing_contexts end |
Class Method Details
.new_from_build_request_and_error(build_request, error) ⇒ Object
23 24 25 26 27 28 |
# File 'lib/escobar/heroku/build_request.rb', line 23 def self.new_from_build_request_and_error(build_request, error) err = new(error.) err.build_request = build_request err.missing_contexts = error.missing_contexts err end |