Class: ExercismConfig::SetupDynamoDBClient
- Inherits:
-
Object
- Object
- ExercismConfig::SetupDynamoDBClient
- Includes:
- Mandate
- Defined in:
- lib/exercism_config/setup_dynamodb_client.rb
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 |
# File 'lib/exercism_config/setup_dynamodb_client.rb', line 5 def call aws_settings = GenerateAwsSettings.().merge( endpoint: config_endpoint, # We don't want a profile for this AWS service # as we run it locally. But we do normally, so # we locally override this here. profile: nil ).select { |_k, v| v } Aws::DynamoDB::Client.new(aws_settings) end |