Method: Array#fetch_objects
- Defined in:
- lib/parse/model/core/fetching.rb
#fetch_objects(lookup = :parallel) ⇒ Array<Parse::Object>
Fetches all the objects in the array that are in Pointer state.
102 103 104 105 106 107 |
# File 'lib/parse/model/core/fetching.rb', line 102 def fetch_objects(lookup = :parallel) items = valid_parse_objects lookup == :parallel ? items.threaded_each(2,&:fetch) : items.each(&:fetch) #self.replace items self end |