lib/thumbtack/specification.rb
# 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
Validate and translate client parameters to their Pinboard values
Validate and translate client parameters to their Pinboard values
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
Validate and translate client parameters to their Pinboard values
Validate and translate client parameters to their Pinboard values
parameter names associated with translations to their Pinboard values
parameter names associated with translations to their Pinboard values
Hash{Symbol => Object}
arguments
<not_specific>
<not_specific>
arguments parameter names associated with their values
arguments parameter names associated with their values