Class: Easee::NullEncryptor

Inherits:
Object
  • Object
show all
Defined in:
lib/easee/null_encryptor.rb

Overview

rubocop:disable Lint/UnusedMethodArgument

Instance Method Summary collapse

Instance Method Details

#decrypt(encrypted_text, key_provider: nil, cipher_options: {}) ⇒ Object



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

def decrypt(encrypted_text, key_provider: nil, cipher_options: {})
  encrypted_text
end

#encrypt(clear_text, key_provider: nil, cipher_options: {}) ⇒ Object



4
5
6
# File 'lib/easee/null_encryptor.rb', line 4

def encrypt(clear_text, key_provider: nil, cipher_options: {})
  clear_text
end

#encrypted?(text) ⇒ Boolean

Returns:

  • (Boolean)


12
13
14
# File 'lib/easee/null_encryptor.rb', line 12

def encrypted?(text)
  false
end