Module: AttrCipher

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

Defined Under Namespace

Modules: ClassMethods, VERSION Classes: Cipher, Error, SecretTooShortException

Class Attribute Summary collapse

Class Attribute Details

.cipherObject

Returns the value of attribute cipher.



14
15
16
# File 'lib/attr_cipher/attr_cipher.rb', line 14

def cipher
  @cipher
end

.secretObject

Returns the value of attribute secret.



15
16
17
# File 'lib/attr_cipher/attr_cipher.rb', line 15

def secret
  @secret
end