Sha256: e8f3b3136114b2a6db442806b48a6afa13c25dbec82708c9302fff0627e38021

Contents?: true

Size: 118 Bytes

Versions: 12

Compression:

Stored size: 118 Bytes

Contents

module ActiveHashRelation::LimitFilters
  def apply_limit(resource, limit)
    return resource.limit(limit)
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
active_hash_relation-1.4.1 lib/active_hash_relation/limit_filters.rb
active_hash_relation-1.4.0 lib/active_hash_relation/limit_filters.rb
active_hash_relation-1.2.0 lib/active_hash_relation/limit_filters.rb
active_hash_relation-1.1.0 lib/active_hash_relation/limit_filters.rb
active_hash_relation-1.0.5 lib/active_hash_relation/limit_filters.rb
active_hash_relation-1.0.4 lib/active_hash_relation/limit_filters.rb
active_hash_relation-1.0.3 lib/active_hash_relation/limit_filters.rb
active_hash_relation-1.0.2 lib/active_hash_relation/limit_filters.rb
active_hash_relation-1.0.1 lib/active_hash_relation/limit_filters.rb
active_hash_relation-1.0.0 lib/active_hash_relation/limit_filters.rb
active_hash_relation-0.0.3 lib/active_hash_relation/limit_filters.rb
active_hash_relation-0.0.2 lib/active_hash_relation/limit_filters.rb