Class: DashOverlord::UseCases::V1::Repositories::DynamoDb::SearchAndPaginate::ApplyFilters

Inherits:
Base
  • Object
show all
Defined in:
lib/dash_overlord/use_cases/v1/repositories/dynamo_db/search_and_paginate/apply_filters.rb

Constant Summary

Constants inherited from Base

Base::AbortError

Instance Attribute Summary

Attributes inherited from Base

#context

Instance Method Summary collapse

Methods inherited from Base

context_reader, #final, #initialize, perform, target, #target_valid?

Constructor Details

This class inherits a constructor from DashOverlord::UseCases::Base

Instance Method Details

#performObject



11
12
13
14
# File 'lib/dash_overlord/use_cases/v1/repositories/dynamo_db/search_and_paginate/apply_filters.rb', line 11

def perform
  context.resource = \
    resource.search(filter_query.presence)
end