lib/gummi/db_layer/document/search/searching.rb in gummi-0.2.1 vs lib/gummi/db_layer/document/search/searching.rb in gummi-0.2.2
- old
+ new
@@ -7,14 +7,14 @@
included do
include Virtus.model
attribute :document_class, Class
- attribute :index, String, default: lambda { |search, attr| Gummi::DbLayer::DefaultIndex.name }
+ attribute :index, String, default: lambda { |search, attr| Gummi::DbLayer::DefaultIndex.name }
attribute :type, String
attribute :page, Gummi::DbLayer::Fields::PositiveInteger, default: 1
attribute :per_page, Gummi::DbLayer::Fields::PositiveInteger, default: 300
- attribute :options, Hash, default: {}
+ attribute :options, Hash, default: {}
end
def to_client_args
args = {
index: index,
\ No newline at end of file