Method: Sandal::Sig::None#sign

Defined in:
lib/sandal/sig.rb

#sign(payload) ⇒ String

Returns an empty signature.

Parameters:

  • payload (String)

    This parameter is ignored.

Returns:

  • (String)

    An empty string.


23
24
25
# File 'lib/sandal/sig.rb', line 23

def sign(payload)
  ""
end