Exception: SimpleAdmin::UnknownAdminInterface

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(e) ⇒ UnknownAdminInterface

Returns a new instance of UnknownAdminInterface.



110
111
112
# File 'lib/simple_admin.rb', line 110

def initialize(e)
  @message = "SimpleAdmin interface unknown, make sure you mount SimpleAdmin in your routes and that you have registered an interface for this resource"
end

Instance Attribute Details

#messageObject

Returns the value of attribute message.



108
109
110
# File 'lib/simple_admin.rb', line 108

def message
  @message
end