Shopify's ActiveMerchant behind a Sinatra RESTful Api