Module: Dynamodb::Api::Config

Extended by:
Config, Options
Included in:
Config
Defined in:
lib/dynamodb/api/config.rb,
lib/dynamodb/api/config/options.rb

Defined Under Namespace

Modules: Options

Instance Method Summary collapse

Methods included from Options

defaults, option, reset, settings

Instance Method Details

#build_table_name(value) ⇒ String

Returns the table name.

Parameters:

  • value (String)

    the table name

Returns:

  • (String)

    the table name



21
22
23
24
# File 'lib/dynamodb/api/config.rb', line 21

def build_table_name(value)
  return value unless table_name_prefix?
  "#{table_name_prefix}#{value}"
end