---- dataentry integration ---- type : integration # do not change this line supports-foxycart-version-from : # Minimum required FoxyCart version for this to work supports-foxycart-version-to : # Last FoxyCart version that supports this (leave empty if unknown) systems : ruby # the system(s) that the integration is for, separated with commas if more than one name : Ruby Helper Gems # the name of the integration description : Helper Gems for Ruby # tags_tags : gem, gems, muddleman # tags, separated by commas. don't include the "system" here. date_dt : # the date in YYYY-MM-DD format version : # if you have a version for your code, enter it here developer_url : # if you'd like a link back to your site, stick it here ---- ====== Ruby Helper Gems ====== //**Please note:**// The code on this page is submitted by members of the FoxyCart community, and may not verified by FoxyCart.com LLC in any way, shape, or form. Please double check the code before installing. If you need help with it please [[http://forum.foxycart.com/|post in our forum]], but if we cannot offer assistance (due to unfamiliarity with this particular system or language) we apologize in advance. ===== Description ===== Below are some helper gems made by members of our community for bringing FoxyCart integration and functionality into your Ruby projects ===== foxycart_helpers gem ===== https://github.com/rjocoleman/foxycart_helpers#foxycart-helpers === Features === * For plain Ruby. Framework independant. * Does not depend on Rails but automatically loads helpers into the Rails environment if used in a Rails app. * Standalone XML datafeed webhook (Rack) endpoint. Features automatic decryption and parsing of the XML. Delivered to the application as a simple hash that's ready for processing or passing to a background job. * loader.js helpers that provide you with the full HTML element or script URL for use in templates (etc). * Programmatic generation of HMAC product validation payloads. * Generation of "cart" links, either HMAC validated or plain (supports arbitrary query string params like [[static:redirect:cheat_sheet|in the cheat sheet]]). * Configurable and flexible. ===== middleman-foxycart gem ===== https://github.com/rjocoleman/middleman-foxycart#middleman-foxycart === Features === * Configure with API Key and store URL * For use with Middleman static site generator. * Provides the JS snippet to be placed directly into your templates for inclusion on those pages automatically. * Product link helpers to automatically generate product links (HMAC or plain). * Uses the above gem under the hood.