lib/tickethub/collection.rb in tickethub-0.3.62 vs lib/tickethub/collection.rb in tickethub-0.3.63

- old
+ new

@@ -149,9 +149,10 @@ 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