POS API written in Ruby