lib/ticketing_hub/request.rb in ticketinghub-1.0.9 vs lib/ticketing_hub/request.rb in ticketinghub-1.1.0
- old
+ new
@@ -6,11 +6,11 @@
def delete(path, options={})
request(:delete, path, options).body
end
- def get(path, options={})
- TicketingHub::Collection.new self, path, options
+ def get(path, options={}, collection_class=nil)
+ TicketingHub::Collection.new self, path, options, collection_class
end
def patch(path, options={})
request(:patch, path, options).body
end
\ No newline at end of file