def parameters(arguments)
      Hash[
        arguments.map do |name, value|
          type_handler = @type_handlers.fetch(name)
          type_handler.validate(value)
          [name, type_handler.serialize(value)]
        end
      ]
    end
def parameters(arguments)
      Hash[
        arguments.map do |name, value|
          type_handler = @type_handlers.fetch(name)
          type_handler.validate(value)
          [name, type_handler.serialize(value)]
        end
      ]
    end
Initialize a Specification

 @param [Hash{Symbol => Type}] type_handlers
   a map of parameter names to their type handlers
 Validate and translate client parameters to their Pinboard values

 @param [Hash{Symbol => Object}] arguments
   parameter names associated with their values

 @return [Hash{Symbol => Object}]
   parameter names associated with translations to their Pinboard values