Skip to content

Instantly share code, notes, and snippets.

@vincentpaca
Created January 28, 2012 22:23
Show Gist options
  • Save vincentpaca/1695985 to your computer and use it in GitHub Desktop.
Save vincentpaca/1695985 to your computer and use it in GitHub Desktop.
Bitly initializer
require Rails.root.join('config','initializers','load_config')
Bitly.use_api_version_3
BITLY_CLIENT = Bitly.new(APP_CONFIG['bitly_username'], APP_CONFIG['bitly_key'])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment