class Mara::Client
@private
Internal DynamoDB client.
@author Maddie Schipper @since 1.0.0
Public Class Methods
create_client()
click to toggle source
@private
Create a new DynamoDB client.
@return [Aws::DynamoDB::Client]
# File lib/mara/client.rb, line 21 def create_client params = { region: Mara.config.aws.region, simple_attributes: false } if (endpoint = Mara.config.dynamodb.endpoint) params[:endpoint] = endpoint end Aws::DynamoDB::Client.new(params) end