objects/item.rb
def btc_arrived
    item = read
    item['active'] = 2
    item['assigned'] = Time.now.to_i
    @aws.put_item(table_name: 'zold-wallets', item: item)
  end
# Mark this BTC as "in processing" and don't give it to anyone
Mark this BTC as "in processing" and don't give it to anyone
Mark this BTC as " in processing " and don ' t give it to anyone
def btc_arrived
    item = read
    item['active'] = 2
    item['assigned'] = Time.now.to_i
    @aws.put_item(table_name: 'zold-wallets', item: item)
  end
def btc_arrived item = read item [ 'active' ] = 2 item [ 'assigned' ] = Time . now . to_i @aws . put_item ( table_name : 'zold-wallets' , item : item ) end
Mark this BTC as "in processing" and don't give it to anyone
Mark this BTC as " in processing " and don ' t give it to anyone