Exception: EacRailsRemotes::Errors::TargetExport
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- EacRailsRemotes::Errors::TargetExport
- Defined in:
- lib/eac_rails_remotes/errors/target_export.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#record ⇒ Object
readonly
Returns the value of attribute record.
Instance Method Summary collapse
-
#initialize(record) ⇒ TargetExport
constructor
A new instance of TargetExport.
Constructor Details
#initialize(record) ⇒ TargetExport
Returns a new instance of TargetExport.
8 9 10 11 |
# File 'lib/eac_rails_remotes/errors/target_export.rb', line 8 def initialize(record) super("Export failed (ID: #{record.id}, export message: \"#{record.export_message}\")") @record = record end |
Instance Attribute Details
#record ⇒ Object (readonly)
Returns the value of attribute record.
6 7 8 |
# File 'lib/eac_rails_remotes/errors/target_export.rb', line 6 def record @record end |