Skip to content

Commit

Permalink
Update docs to reflect new syntax for configuring the API key.
Browse files Browse the repository at this point in the history
  • Loading branch information
Samantha John committed Jul 17, 2018
1 parent 666d5af commit 0af4578
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 0af4578

Please sign in to comment.