Class: Jumbotron::Errors::Adapters::AcquisitionFailedError
- Inherits:
-
CommandTower::Errors::ApplicationError
- Object
- CommandTower::Errors::ApplicationError
- Jumbotron::Errors::Adapters::AcquisitionFailedError
- Defined in:
- app/errors/jumbotron/errors/adapters.rb
Instance Method Summary collapse
Instance Method Details
#code ⇒ Object
50 51 52 |
# File 'app/errors/jumbotron/errors/adapters.rb', line 50 def code "acquisition_failed" end |
#message ⇒ Object
54 55 56 |
# File 'app/errors/jumbotron/errors/adapters.rb', line 54 def details.is_a?(Hash) && details[:message].present? ? details[:message].to_s : "provider acquisition failed" end |