Class: Dynamodb::Configuration
- Inherits:
-
Object
- Object
- Dynamodb::Configuration
- Defined in:
- lib/dynamodb/configuration.rb
Instance Attribute Summary collapse
-
#can_create_tables ⇒ Object
Returns the value of attribute can_create_tables.
-
#can_delete_tables ⇒ Object
Returns the value of attribute can_delete_tables.
-
#client_config ⇒ Object
Returns the value of attribute client_config.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 8 9 |
# File 'lib/dynamodb/configuration.rb', line 5 def initialize @client_config = { stub_responses: true } @can_create_tables = false @can_delete_tables = false end |
Instance Attribute Details
#can_create_tables ⇒ Object
Returns the value of attribute can_create_tables.
3 4 5 |
# File 'lib/dynamodb/configuration.rb', line 3 def can_create_tables @can_create_tables end |
#can_delete_tables ⇒ Object
Returns the value of attribute can_delete_tables.
3 4 5 |
# File 'lib/dynamodb/configuration.rb', line 3 def can_delete_tables @can_delete_tables end |
#client_config ⇒ Object
Returns the value of attribute client_config.
3 4 5 |
# File 'lib/dynamodb/configuration.rb', line 3 def client_config @client_config end |