Module: AttrCipher

Extended by:
ActiveSupport::Concern
Defined in:
lib/attr_cipher/cipher.rb,
lib/attr_cipher/version.rb,
lib/attr_cipher/attr_cipher.rb,
lib/attr_cipher/secret_exception.rb

Defined Under Namespace

Modules: ClassMethods, VERSION Classes: Cipher, SecretException

Class Attribute Summary collapse

Class Attribute Details

.cipherObject

Returns the value of attribute cipher.



8
9
10
# File 'lib/attr_cipher/attr_cipher.rb', line 8

def cipher
  @cipher
end

.secretObject

Returns the value of attribute secret.



9
10
11
# File 'lib/attr_cipher/attr_cipher.rb', line 9

def secret
  @secret
end