Class: SearchAction
- Inherits:
-
Object
- Object
- SearchAction
- Defined in:
- app/controllers/admin_data/search_controller.rb
Instance Attribute Summary collapse
-
#relation ⇒ Object
Returns the value of attribute relation.
-
#success_message ⇒ Object
Returns the value of attribute success_message.
Instance Method Summary collapse
- #delete ⇒ Object
- #destroy ⇒ Object
-
#initialize(relation) ⇒ SearchAction
constructor
A new instance of SearchAction.
Constructor Details
#initialize(relation) ⇒ SearchAction
Returns a new instance of SearchAction.
4 5 6 |
# File 'app/controllers/admin_data/search_controller.rb', line 4 def initialize(relation) @relation = relation end |
Instance Attribute Details
#relation ⇒ Object
Returns the value of attribute relation.
2 3 4 |
# File 'app/controllers/admin_data/search_controller.rb', line 2 def relation @relation end |
#success_message ⇒ Object
Returns the value of attribute success_message.
2 3 4 |
# File 'app/controllers/admin_data/search_controller.rb', line 2 def @success_message end |