add `attr_accessor :search_params` earlier and you will be able to remove `get_params` method and just do something like:

```ruby
self.search_params = params
```

and then check its value just by calling `search_params`