Module: HotLikeSauce
- Defined in:
- lib/hot_like_sauce.rb
Defined Under Namespace
Modules: ARMethods, ClassMethods, InstanceMethods
Class Method Summary
collapse
Class Method Details
.crypto_method ⇒ Object
15
16
17
|
# File 'lib/hot_like_sauce.rb', line 15
def self.crypto_method
@crypto_method ||= "aes-256-cbc"
end
|
.crypto_method=(val) ⇒ Object
19
20
21
|
# File 'lib/hot_like_sauce.rb', line 19
def self.crypto_method=(val)
@crypto_method = val
end
|
.secret_key ⇒ Object
7
8
9
|
# File 'lib/hot_like_sauce.rb', line 7
def self.secret_key
@secret_key ||= "please_init_this_somewhere_before_using"
end
|
.secret_key=(val) ⇒ Object
11
12
13
|
# File 'lib/hot_like_sauce.rb', line 11
def self.secret_key=(val)
@secret_key = val
end
|