Exception: Escobar::Heroku::BuildRequest::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Escobar::Heroku::BuildRequest::Error
- Defined in:
- lib/escobar/heroku/build_request.rb
Overview
Class representing some failure when requesting a build
Direct Known Subclasses
MissingContextsError, RequiresTwoFactorError, PipelinePromotionRequest::Error
Instance Attribute Summary collapse
-
#build_request ⇒ Object
Returns the value of attribute build_request.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#build_request ⇒ Object
Returns the value of attribute build_request.
7 8 9 |
# File 'lib/escobar/heroku/build_request.rb', line 7 def build_request @build_request end |
Class Method Details
.new_from_build_request(build_request, message) ⇒ Object
9 10 11 12 13 |
# File 'lib/escobar/heroku/build_request.rb', line 9 def self.new_from_build_request(build_request, ) error = new() error.build_request = build_request error end |
Instance Method Details
#dashboard_url ⇒ Object
15 16 17 |
# File 'lib/escobar/heroku/build_request.rb', line 15 def dashboard_url "https://dashboard.heroku.com/apps/#{build_request.app.name}" end |