Exception: Yuriita::Collection::ActionNotFound

Inherits:
Error
  • Object
show all
Defined in:
lib/yuriita/errors/collection/action_not_found.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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(message = nil, collection = nil, action = nil)
  @collection = collection
  @action = action
  super(message)
end

Instance Attribute Details

#actionObject (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

#collectionObject (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