Module: WolfCore::NoSqlDbOperations

Defined in:
lib/wolf_core/infrastructure/no_sql_db_operations.rb

Instance Method Summary collapse

Instance Method Details

#get_no_sql_item(table_name:, key:) ⇒ Object



10
11
12
13
14
15
# File 'lib/wolf_core/infrastructure/no_sql_db_operations.rb', line 10

def get_no_sql_item(table_name:, key:)
  WolfCore::NoSqlDbDataSource.get_item(
    table_name: table_name,
    key: key,
  )
end

#put_no_sql_item(table_name:, item:) ⇒ Object



3
4
5
6
7
8
# File 'lib/wolf_core/infrastructure/no_sql_db_operations.rb', line 3

def put_no_sql_item(table_name:, item:)
  WolfCore::NoSqlDbDataSource.put_item(
    table_name: table_name,
    item: item,
  )
end