bitcoin-atm

bitcoin atm for pyc inc.

git clone https://9o.is/git/bitcoin-atm.git

ReceiptEmail.scala

(306B)


      1 package inc.pyc.chimera
      2 package ddb
      3 
      4 import akka.actor.Actor
      5 
      6 /**
      7  * Saves email when receipt is sent. 
      8  * Primary Key is the bitcoin address.
      9  */
     10 class ReceiptEmail extends Actor with DDB {
     11   def receive = {
     12     case (address: String, email: Email) =>
     13       table.put(address, "email" -> email.data)
     14   }
     15 }