Exception: ActiveRecord::Bixformer::ImportError
- Inherits:
-
StandardError
- Object
- StandardError
- ActiveRecord::Bixformer::ImportError
- Defined in:
- lib/activerecord-bixformer/error.rb
Instance Attribute Summary collapse
-
#model ⇒ Object
readonly
Returns the value of attribute model.
Instance Method Summary collapse
-
#initialize(model) ⇒ ImportError
constructor
A new instance of ImportError.
Constructor Details
#initialize(model) ⇒ ImportError
Returns a new instance of ImportError.
16 17 18 19 20 |
# File 'lib/activerecord-bixformer/error.rb', line 16 def initialize(model) @model = model super("failed to import #{model.name}") end |
Instance Attribute Details
#model ⇒ Object (readonly)
Returns the value of attribute model.
14 15 16 |
# File 'lib/activerecord-bixformer/error.rb', line 14 def model @model end |