added snapshot hash to consumer.rb
Merge pull request #1 from stephensxu/feature/add_snapshot

added snapshot hash to consumer.rb