Class: Checkoff::Internal::SearchUrl::SimpleParam::PortfoliosIds
- Inherits:
-
SimpleParam
- Object
- SimpleParam
- Checkoff::Internal::SearchUrl::SimpleParam::PortfoliosIds
- Defined in:
- lib/checkoff/internal/search_url/simple_param_converter.rb
Overview
Handle ‘portfolios.ids’ search url param
Instance Method Summary collapse
Methods inherited from SimpleParam
Constructor Details
This class inherits a constructor from Checkoff::Internal::SearchUrl::SimpleParam::SimpleParam
Instance Method Details
#convert ⇒ Array<String>
76 77 78 |
# File 'lib/checkoff/internal/search_url/simple_param_converter.rb', line 76 def convert { 'portfolios.any' => single_value.split('~').join(',') }.to_a.flatten end |