objects/item.rb
def replace_id(id)
    item = read
    item['id'] = id.to_s
    @aws.put_item(table_name: 'zold-wallets', item: item)
  end
# This is used during migration to a new wallet.
This is used during migration to a new wallet.
This is used during migration to a new wallet .
def replace_id(id)
    item = read
    item['id'] = id.to_s
    @aws.put_item(table_name: 'zold-wallets', item: item)
  end
def replace_id ( id ) item = read item [ 'id' ] = id . to_s @aws . put_item ( table_name : 'zold-wallets' , item : item ) end
This is used during migration to a new wallet.
This is used during migration to a new wallet .
id