Exception: Yuriita::Collection::ActionNotFound
- Defined in:
- lib/yuriita/errors/collection/action_not_found.rb
Instance Attribute Summary collapse
-
#action ⇒ Object
readonly
Returns the value of attribute action.
-
#collection ⇒ Object
readonly
Returns the value of attribute collection.
Instance Method Summary collapse
-
#initialize(message = nil, collection = nil, action = nil) ⇒ ActionNotFound
constructor
A new instance of ActionNotFound.
Constructor Details
#initialize(message = nil, collection = nil, action = nil) ⇒ ActionNotFound
Returns a new instance of ActionNotFound.
6 7 8 9 10 |
# File 'lib/yuriita/errors/collection/action_not_found.rb', line 6 def initialize( = nil, collection = nil, action = nil) @collection = collection @action = action super() end |
Instance Attribute Details
#action ⇒ Object (readonly)
Returns the value of attribute action.
4 5 6 |
# File 'lib/yuriita/errors/collection/action_not_found.rb', line 4 def action @action end |
#collection ⇒ Object (readonly)
Returns the value of attribute collection.
4 5 6 |
# File 'lib/yuriita/errors/collection/action_not_found.rb', line 4 def collection @collection end |