Class: CredStash::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/cred_stash/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

Returns a new instance of Config.



15
16
17
# File 'lib/cred_stash/config.rb', line 15

def initialize
  reset!
end

Instance Attribute Details

#storageObject

Returns the value of attribute storage.



13
14
15
# File 'lib/cred_stash/config.rb', line 13

def storage
  @storage
end

#table_nameObject

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