Exception: WelltreatStoreFramework::StoreApp::ActionNotFound

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(_a_name, _c_name) ⇒ ActionNotFound

Returns a new instance of ActionNotFound.



17
18
19
20
21
# File 'lib/welltreat_store_framework/store_app.rb', line 17

def initialize(_a_name, _c_name)
  super "Action - #{_a_name} from controller - #{_c_name} not found."
  self.action_name     = _a_name
  self.controller_name = _c_name
end

Instance Attribute Details

#action_nameObject

Returns the value of attribute action_name.



15
16
17
# File 'lib/welltreat_store_framework/store_app.rb', line 15

def action_name
  @action_name
end

#controller_nameObject

Returns the value of attribute controller_name.



15
16
17
# File 'lib/welltreat_store_framework/store_app.rb', line 15

def controller_name
  @controller_name
end