lib/gretel/trails/stores/url_store.rb
# Securely encodes encoded array to a trail string to be used in URL.
Securely encodes encoded array to a trail string to be used in URL.
Securely encodes encoded array to a trail string to be used in URL .
def save(array)
          base64 = encode_base64(array)
          hash = generate_hash(base64)
          [hash, base64].join("_")
        end
def save ( array ) base64 = encode_base64 ( array ) hash = generate_hash ( base64 ) [ hash , base64 ] . join ( "_" ) end
Securely encodes encoded array to a trail string to be used in URL.
Securely encodes encoded array to a trail string to be used in URL .
array
<not_specific>