Class: Bulk::Collection::Errors
- Inherits:
-
AbstractCollection
- Object
- AbstractCollection
- Bulk::Collection::Errors
- Defined in:
- lib/bulk/collection.rb
Instance Attribute Summary collapse
-
#collection ⇒ Object
readonly
Returns the value of attribute collection.
Instance Method Summary collapse
-
#initialize(collection) ⇒ Errors
constructor
A new instance of Errors.
- #set(id, error, data = nil) ⇒ Object
Methods inherited from AbstractCollection
#clear, #delete, #empty?, #get, #ids, #length
Constructor Details
#initialize(collection) ⇒ Errors
Returns a new instance of Errors.
17 18 19 20 |
# File 'lib/bulk/collection.rb', line 17 def initialize(collection) @collection = collection super() end |
Instance Attribute Details
#collection ⇒ Object (readonly)
Returns the value of attribute collection.
15 16 17 |
# File 'lib/bulk/collection.rb', line 15 def collection @collection end |