lib/zendesk_api/collection.rb
# Saves all newly created resources stored in this collection.
# @return [Collection] self
Saves all newly created resources stored in this collection.
Saves all newly created resources stored in this collection .
def save
      if @resources
        @resources.map! do |item|
          unless !item.respond_to?(:save) || item.changes.empty?
            item.save
          end
          item
        end
      end
      self
    end
def save if @resources @resources . map! do | item | unless ! item . respond_to? ( :save ) || item . changes . empty? item . save end item end end self end
Saves all newly created resources stored in this collection.
Saves all newly created resources stored in this collection .
None
Collection