Skip to main content

Support for Ruby on Rails

Simplified Work Mode When Using Ruby on Rails

Written by Petr Pech

Our goal is to make the ABRA Flexi REST API easy to use for developers. To that end, we have created a mode that simplifies working with Ruby On Rails (and Active Resource).

If you include ?mode=ruby in the URL parameter, you will receive correct results in the XML output and pluralization support will also be enabled (Invoice → Invoices).

# GET /invoices.xml?mode=ruby Invoice.find(:all, :params => { :mode => 'ruby' })

Ruby On Rails support is currently experimental. Have you encountered an issue, or would you simply like to improve the interface to better suit your needs? Contact us.

Did this answer your question?