Exception: ActiveRecord::Bixformer::ImportError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/activerecord-bixformer/error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#modelObject (readonly)

Returns the value of attribute model.



14
15
16
# File 'lib/activerecord-bixformer/error.rb', line 14

def model
  @model
end