Skip to content

Commit

Permalink
Syntax highlighting in README
Browse files Browse the repository at this point in the history
  • Loading branch information
Larry Karnowski authored Mar 23, 2021
1 parent af446f6 commit 39d1d9c
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ Ruby wrapper for the [Adzerk](https://adzerk.com) API.

## Installation

sudo gem install adzerk
```bash
sudo gem install adzerk
```

## Get your API key

Expand All @@ -21,15 +23,19 @@ Refer to the [Adzerk Knowledge Base](http://dev.adzerk.com) for information abou

### Examples

require 'adzerk'
client = Adzerk::Client.new('your_api_key')
client.sites.list
```ruby
require 'adzerk'
client = Adzerk::Client.new(ENV["ADZERK_API_KEY"])
pp client.sites.list
```

## To run tests as Adzerk developer

bundle install
export ADZERK_API_KEY=<get-key-from-adzerk>
rake spec
```bash
bundle install
export ADZERK_API_KEY=<get-key-from-adzerk>
rake spec
```

## License

Expand Down

0 comments on commit 39d1d9c

Please sign in to comment.