Module: DynamodbGeo

Defined in:
lib/dynamodb_geo.rb,
lib/dynamodb_geo/version.rb

Defined Under Namespace

Classes: Version

Class Method Summary collapse

Class Method Details

.new(region:, table_name:, access_key_id: nil, secret_access_key: nil, profile_name: 'default', endpoint: nil) ⇒ Object



5
6
7
8
9
10
11
12
13
14
# File 'lib/dynamodb_geo.rb', line 5

def new(region:, table_name:, access_key_id: nil, secret_access_key: nil, profile_name: 'default', endpoint: nil)
  DynamodbManager.new(
    region:            region,
    access_key_id:     access_key_id,
    secret_access_key: secret_access_key,
    profile_name:      profile_name,
    table_name:        table_name,
    endpoint:          endpoint
  )
end