Class: RIQ::ListItemManager
- Inherits:
-
BatchManager
- Object
- BatchManager
- RIQ::ListItemManager
- Defined in:
- lib/riq/list_item_manager.rb
Overview
Special child for initializing list items, who need to include extra info.
Instance Attribute Summary
Attributes inherited from BatchManager
Instance Method Summary collapse
-
#initialize(lid, opts = {}) ⇒ ListItemManager
constructor
A new instance of ListItemManager.
Methods inherited from BatchManager
Constructor Details
#initialize(lid, opts = {}) ⇒ ListItemManager
Returns a new instance of ListItemManager.
7 8 9 10 11 |
# File 'lib/riq/list_item_manager.rb', line 7 def initialize(lid, opts = {}) raise RIQError, 'List id can\'t be nil' if lid.nil? @list_id = lid super(RIQ::ListItem, opts) end |