Class: Mongo::WriteConcern::Unacknowledged
- Inherits:
-
Object
- Object
- Mongo::WriteConcern::Unacknowledged
- Includes:
- Normalizable
- Defined in:
- lib/mongo/write_concern/unacknowledged.rb
Overview
An unacknowledged write concern will provide no error on write outside of network and connection exceptions.
Constant Summary collapse
- NOOP =
The noop constant for the gle.
nil
Instance Attribute Summary
Attributes included from Normalizable
Instance Method Summary collapse
-
#get_last_error ⇒ nil
Get the gle command for an unacknowledged write.
-
#inspect ⇒ String
Get a human-readable string representation of an unacknowledged write concern.
Methods included from Normalizable
Instance Method Details
#get_last_error ⇒ nil
Get the gle command for an unacknowledged write.
38 39 40 |
# File 'lib/mongo/write_concern/unacknowledged.rb', line 38 def get_last_error NOOP end |
#inspect ⇒ String
Get a human-readable string representation of an unacknowledged write concern.
50 51 52 |
# File 'lib/mongo/write_concern/unacknowledged.rb', line 50 def inspect "#<Mongo::WriteConcern::Unacknowledged:0x#{object_id} options=#{}>" end |