Skip to content

Commit

Permalink
Merge pull request #33 from samjohn/update-docs-with-proper-configura…
Browse files Browse the repository at this point in the history
…tion-syntax

Update docs to reflect new syntax for configuring the API key.
  • Loading branch information
Samjohn authored Jul 17, 2018
2 parents 666d5af + 0af4578 commit fc9ef72
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ The following code snippet will immediately track an event to the Amplitude API.

```ruby
# Configure your Amplitude API key
AmplitudeAPI.api_key = "abcdef123456"
AmplitudeAPI.config.api_key = "abcdef123456"


event = AmplitudeAPI::Event.new({
user_id: "123",
Expand Down

0 comments on commit fc9ef72

Please sign in to comment.