Sha256: 32c2bffee293ece9d9929f0c04e8393ee14f4aca7b701f6f740ea1bbdb9e628f

Contents?: true

Size: 221 Bytes

Versions: 3

Compression:

Stored size: 221 Bytes

Contents

class Person < ActiveRecord::Base
  include Vault::EncryptedModel
  vault_attribute :ssn
  vault_attribute :credit_card,
    encrypted_column: :cc_encrypted,
    path: "credit-secrets",
    key: "people_credit_cards"
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
vault-rails-0.1.2 spec/dummy/app/models/person.rb
vault-rails-0.1.1 spec/dummy/app/models/person.rb
vault-rails-0.1.0 spec/dummy/app/models/person.rb