Method: Userlist::Push::ResourceCollection#each
- Defined in:
- lib/userlist/push/resource_collection.rb
#each ⇒ Object
15 16 17 18 19 20 21 |
# File 'lib/userlist/push/resource_collection.rb', line 15 def each collection.each do |resource| resource[inverse] = owner if inverse && resource.is_a?(Hash) yield type.from_payload(resource, config) end end |