lib/tickethub/collection.rb in tickethub-0.3.63 vs lib/tickethub/collection.rb in tickethub-0.3.64
- old
+ new
@@ -149,10 +149,9 @@
raise ArgumentError, 'invalid search value type'
end
end
def aggregate(*group)
- raise ArgumentError, 'group cannot be empty' if group.empty?
Tickethub::Aggregate.new self, group
end
def create(attributes = {})
@klass.call endpoint, post(attributes), @options
\ No newline at end of file