Sha256: de83b292b3e08339b758f5f0b501ec36d986d298f5169c32ed75de7c3e77f53b

Contents?: true

Size: 268 Bytes

Versions: 3

Compression:

Stored size: 268 Bytes

Contents

# frozen-string-literal: true

module EncryptedFormFields
  module EncryptedParameters
    # Decrypt encrypted parameters
    def encrypted_params
      @encrypted_params ||=
        EncryptedFormFields.decrypt_parameters(params["_encrypted"] || {})
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
encrypted_form_fields-1.0.0 lib/encrypted_form_fields/encrypted_parameters.rb
encrypted_form_fields-0.2.4 lib/encrypted_form_fields/encrypted_parameters.rb
encrypted_form_fields-0.2.3 lib/encrypted_form_fields/encrypted_parameters.rb