Exception: ActiveRecordApi::Rest::BadSessionException
- Inherits:
-
Exception
- Object
- Exception
- ActiveRecordApi::Rest::BadSessionException
- Defined in:
- lib/active_record_api/rest/bad_session_exception.rb
Instance Attribute Summary collapse
-
#action ⇒ Object
readonly
Returns the value of attribute action.
-
#controller ⇒ Object
readonly
Returns the value of attribute controller.
Instance Method Summary collapse
-
#initialize(controller, action) ⇒ BadSessionException
constructor
A new instance of BadSessionException.
Constructor Details
#initialize(controller, action) ⇒ BadSessionException
Returns a new instance of BadSessionException.
6 7 8 9 |
# File 'lib/active_record_api/rest/bad_session_exception.rb', line 6 def initialize(controller, action) @action = action @controller = controller end |
Instance Attribute Details
#action ⇒ Object (readonly)
Returns the value of attribute action.
4 5 6 |
# File 'lib/active_record_api/rest/bad_session_exception.rb', line 4 def action @action end |
#controller ⇒ Object (readonly)
Returns the value of attribute controller.
5 6 7 |
# File 'lib/active_record_api/rest/bad_session_exception.rb', line 5 def controller @controller end |