Exception: Avo::MissingResourceError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/avo.rb

Instance Method Summary collapse

Constructor Details

#initialize(model_class, field_name = nil) ⇒ MissingResourceError

Returns a new instance of MissingResourceError.



37
38
39
# File 'lib/avo.rb', line 37

def initialize(model_class, field_name = nil)
  super(missing_resource_message(model_class, field_name))
end