Skip to content

Commit cfd98fa

Browse files
committed
Allow bulk actions on collections
1 parent 33c9268 commit cfd98fa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/zendesk_api/collection.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ def initialize(client, resource, options = {})
4848

4949
methods = %w{create find update destroy}
5050
methods += methods.map {|method| method + "!"}
51+
methods += %w{create_many! destroy_many!}
5152
methods.each do |deferrable|
5253
# Passes arguments and the proper path to the resource class method.
5354
# @param [Hash] options Options or attributes to pass

0 commit comments

Comments
 (0)