class Commutator::SimpleClient
Provides an instance of ‘Aws::DynamoDB::Client` with conversions for passing Commutator
objects to API operations.
‘:client => ` may be provided as an `Aws::DynamoDB::Client` instance otherwise this instantiates a `Aws::DynamoDB::Client` with the provided options
Public Class Methods
new(client: nil, **options)
click to toggle source
Calls superclass method
# File lib/commutator/simple_client.rb, line 8 def initialize(client: nil, **options) return super(client) if client defaults = { region: "us-east-1", endpoint: "https://dynamodb.us-east-1.amazonaws.com", } options = defaults.merge options super Aws::DynamoDB::Client.new(options) end