Class: CredStash::Config
- Inherits:
-
Object
- Object
- CredStash::Config
- Defined in:
- lib/cred_stash/config.rb
Instance Attribute Summary collapse
-
#storage ⇒ Object
Returns the value of attribute storage.
-
#table_name ⇒ Object
Returns the value of attribute table_name.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
- #reset! ⇒ Object
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
15 16 17 |
# File 'lib/cred_stash/config.rb', line 15 def initialize reset! end |
Instance Attribute Details
#storage ⇒ Object
Returns the value of attribute storage.
13 14 15 |
# File 'lib/cred_stash/config.rb', line 13 def storage @storage end |
#table_name ⇒ Object
Returns the value of attribute table_name.
13 14 15 |
# File 'lib/cred_stash/config.rb', line 13 def table_name @table_name end |
Instance Method Details
#reset! ⇒ Object
19 20 21 22 |
# File 'lib/cred_stash/config.rb', line 19 def reset! @table_name = 'credential-store' @storage = :dynamodb end |