Sha256: 588a23bb2ffe5c8441a46812d4015a9768c4ee17b13516029308fdbc6978ff95

Contents?: true

Size: 375 Bytes

Versions: 4

Compression:

Stored size: 375 Bytes

Contents

module Easee
  # rubocop:disable Lint/UnusedMethodArgument
  class NullEncryptor
    def encrypt(clear_text, key_provider: nil, cipher_options: {})
      clear_text
    end

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

    def encrypted?(text)
      false
    end
  end
  # rubocop:enable Lint/UnusedMethodArgument
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
stekker_easee-1.0.2 lib/easee/null_encryptor.rb
stekker_easee-1.0.1 lib/easee/null_encryptor.rb
stekker_easee-1.0.0 lib/easee/null_encryptor.rb
stekker_easee-0.1.0 lib/easee/null_encryptor.rb