lib/geo_certs/order.rb in geocerts-0.0.12 vs lib/geo_certs/order.rb in geocerts-0.0.13
- old
+ new
@@ -328,11 +328,11 @@
end
##
# Returns a collection of events for the order.
#
- def events
- GeoCerts::Event.find_by_order_id(self.id)
+ def events(options = {})
+ GeoCerts::Event.find_by_order_id(self.id, options)
end
##
# Returns a GeoCerts::Certificate associated with this order.
#