Class HTTPAuth::Digest::Conversions
In: lib/httpauth/digest.rb
Parent: Object

Conversion for a number of internal data structures to and from directives in the headers. Implementations shouldn‘t have to call any methods on Conversions.

Methods

Public Class methods

Creates a string value from a boolean => ‘true’ or ‘false‘

Create a list from a quoted comma separated string of items

Creates an int value from hex values

Creates a hex value in a string from an integer

Creates a quoted string with comma separated items from a list

Creates a quoted string with space separated items from a list

Adds quotes around the string

Creates a list from a quoted space separated string of items

Creates a boolean value from a string => true or false

Removes quotes from around a string

[Validate]