Class: GetFluxly::Batch::FlushResult
- Inherits:
-
Struct
- Object
- Struct
- GetFluxly::Batch::FlushResult
- Defined in:
- lib/getfluxly/batch.rb
Instance Attribute Summary collapse
-
#accepted ⇒ Object
Returns the value of attribute accepted.
-
#batches ⇒ Object
Returns the value of attribute batches.
-
#errors ⇒ Object
Returns the value of attribute errors.
-
#rejected ⇒ Object
Returns the value of attribute rejected.
Instance Method Summary collapse
Instance Attribute Details
#accepted ⇒ Object
Returns the value of attribute accepted
6 7 8 |
# File 'lib/getfluxly/batch.rb', line 6 def accepted @accepted end |
#batches ⇒ Object
Returns the value of attribute batches
6 7 8 |
# File 'lib/getfluxly/batch.rb', line 6 def batches @batches end |
#errors ⇒ Object
Returns the value of attribute errors
6 7 8 |
# File 'lib/getfluxly/batch.rb', line 6 def errors @errors end |
#rejected ⇒ Object
Returns the value of attribute rejected
6 7 8 |
# File 'lib/getfluxly/batch.rb', line 6 def rejected @rejected end |
Instance Method Details
#+(other) ⇒ Object
7 8 9 10 11 12 13 14 |
# File 'lib/getfluxly/batch.rb', line 7 def +(other) FlushResult.new( accepted + other.accepted, rejected + other.rejected, batches + other.batches, errors + other.errors ) end |