Skip to content

Commit

Permalink
Adding more info to README
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Payne committed Apr 14, 2009
1 parent cb693cc commit 471c3eb
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ Configuration
Using the JamBase API requires that you register for an API key. Get one here:
http://developer.jambase.com/member/register

FOR RAILS
=========
In an initializer, add the following configuration:

#app_specific_initializers.rb
Expand All @@ -41,6 +43,22 @@ JamBase4R.configure do |config|
config.api_key = "XXXXXXXXXXXXX"
end

FOR SINATRA
===========

I would typically configure JamBase4R with a Sinatra configure block.

configure do
JamBase4R.configure do |config|
config.api_key = "XXXXXXXXXXXXX"
end
end

FOR OTHERS
==========

Check the documentation of the framework you are using. All should allow for this type of confiuration.

Example
=======

Expand Down

0 comments on commit 471c3eb

Please sign in to comment.