Class: Lazylead::NoSalt

Inherits:
Object
  • Object
show all
Defined in:
lib/lazylead/salt.rb

Overview

No cryptography salt defined within environment variables.

Instance Method Summary collapse

Instance Method Details

#decrypt(_) ⇒ Object



80
81
82
# File 'lib/lazylead/salt.rb', line 80

def decrypt(_)
  raise "ll-004: Unsupported operation: 'decrypt'"
end

#encrypt(_) ⇒ Object



76
77
78
# File 'lib/lazylead/salt.rb', line 76

def encrypt(_)
  raise "ll-003: Unsupported operation: 'encrypt'"
end

#idObject



72
73
74
# File 'lib/lazylead/salt.rb', line 72

def id
  "No salt"
end

#keyObject



88
89
90
# File 'lib/lazylead/salt.rb', line 88

def key
  raise "ll-005: Unsupported operation: 'key'"
end

#specified?Boolean

Returns:

  • (Boolean)


84
85
86
# File 'lib/lazylead/salt.rb', line 84

def specified?
  false
end