lib/dynamoid/criteria.rb in dynamoid-0.3.2 vs lib/dynamoid/criteria.rb in dynamoid-0.4.0
- old
+ new
@@ -7,11 +7,11 @@
module Criteria
extend ActiveSupport::Concern
module ClassMethods
- [:where, :all, :first, :each].each do |meth|
+ [:where, :all, :first, :each, :limit, :start].each do |meth|
# Return a criteria chain in response to a method that will begin or end a chain. For more information,
# see Dynamoid::Criteria::Chain.
#
# @since 0.2.0
define_method(meth) do |*args|
@@ -24,6 +24,6 @@
end
end
end
end
-end
\ No newline at end of file
+end