Sha256: d71098032bc7c749b26ccdd546139e829eea09395d1f711b27d0d5e224962db0

Contents?: true

Size: 601 Bytes

Versions: 3

Compression:

Stored size: 601 Bytes

Contents

module Lolita
  module Adapter
    module AbstractAdapter
      abstract_method '',:fields,:db, :db_name,:collection,:collection_name,:collections,:collection_names
      abstract_method '',:associations,:associations_class_names
      abstract_method "value",:collection_name=
      abstract_method 'page,per,options ={}',:paginate
      abstract_method 'method_name,page,per,options', :pagination_scope_from_klass
      abstract_method 'name',:reflect_on_association,:field_by_name,:field_by_association
      abstract_method 'id',:find_by_id
      abstract_method 'query', :search
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
lolita-3.2.0.rc.7 lib/lolita/adapter/abstract_adapter.rb
lolita-3.1.18 lib/lolita/adapter/abstract_adapter.rb
lolita-3.2.0.rc.6 lib/lolita/adapter/abstract_adapter.rb