No commit activity in last 3 years
No release in over 3 years
Add-ons including API Key, remove format extensions (.json, .xml) for requests, and configuration file (sites.yml) for each environment's default settings.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

ActiveResource Focus Extensions

Additional features including an API key for all requests, remove format extensions (.xml, .json) from requests, and the ability to have a loadable config file with defaults for each environment to DRY up implementation.

Example config/sites.yml

development:
  site: "localhost:8080"
  prefix: "/path/to/api/"
  format: :xml
  api_key: "12345678"

production:
  site: "production:8080"
  prefix: "/path/to/api/"
  format: :xml
  api_key: "12345678"

Installation

Step 1: Install this gem, ares-focus-extensions: either add it to your Gemfile and bundle install, or simply gem install ares-focus-extensions