Class: Checkoff::Internal::SearchUrl::SimpleParam::SimpleParam

Inherits:
Object
  • Object
show all
Defined in:
lib/checkoff/internal/search_url/simple_param_converter.rb

Overview

base class for handling different types of search url params

Instance Method Summary collapse

Constructor Details

#initialize(key:, values:) ⇒ SimpleParam

Returns a new instance of SimpleParam.

Parameters:

  • key (String)

    the name of the search url param

  • values (Array<String>)

    the values of the search url param



17
18
19
20
# File 'lib/checkoff/internal/search_url/simple_param_converter.rb', line 17

def initialize(key:, values:)
  @key = key
  @values = values
end