Method: Parse::PointerCollectionProxy#add_unique!
- Defined in:
- lib/parse/model/associations/pointer_collection_proxy.rb
#add_unique!(*items) ⇒ Object
Atomically add a set of Parse::Objects to this collection for those not already in the collection. This is done by making the API request directly with Parse server; the local object is not updated with changes.
75 76 77 |
# File 'lib/parse/model/associations/pointer_collection_proxy.rb', line 75 def add_unique!(*items) super(items.flatten.parse_pointers) end |