Class: Portunus::MasterKey
- Inherits:
-
Object
- Object
- Portunus::MasterKey
- Includes:
- ActiveModel::Model
- Defined in:
- lib/portunus/master_key.rb
Instance Attribute Summary collapse
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#enabled ⇒ Object
Returns the value of attribute enabled.
-
#name ⇒ Object
Returns the value of attribute name.
-
#value ⇒ Object
Returns the value of attribute value.
Class Method Summary collapse
Instance Attribute Details
#created_at ⇒ Object
Returns the value of attribute created_at.
5 6 7 |
# File 'lib/portunus/master_key.rb', line 5 def created_at @created_at end |
#enabled ⇒ Object
Returns the value of attribute enabled.
5 6 7 |
# File 'lib/portunus/master_key.rb', line 5 def enabled @enabled end |
#name ⇒ Object
Returns the value of attribute name.
5 6 7 |
# File 'lib/portunus/master_key.rb', line 5 def name @name end |
#value ⇒ Object
Returns the value of attribute value.
5 6 7 |
# File 'lib/portunus/master_key.rb', line 5 def value @value end |
Class Method Details
.load ⇒ Object
7 8 9 |
# File 'lib/portunus/master_key.rb', line 7 def self.load Portunus.configuration.storage_adaptor.load end |
.lookup(key_name) ⇒ Object
11 12 13 |
# File 'lib/portunus/master_key.rb', line 11 def self.lookup(key_name) Portunus.configuration.storage_adaptor.lookup(key_name) end |