Skip to content

Instantly share code, notes, and snippets.

@petedickson
Created March 10, 2011 18:42
Show Gist options
  • Save petedickson/864625 to your computer and use it in GitHub Desktop.
Save petedickson/864625 to your computer and use it in GitHub Desktop.
class ApplicationController < ActionController::Base
protect_from_forgery
before_filter :set_api_connection
def set_api_connection
ApiInfusionsoft.set_account_apiconn("nimacus.infusionsoft.com", "MY_API_KEY")
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment