README.md in mrkt-0.8.0 vs README.md in mrkt-0.9.0
- old
+ new
@@ -1,12 +1,13 @@
# Mrkt
-[![Build Status](https://secure.travis-ci.org/raszi/mrkt.png)](http://travis-ci.org/raszi/mrkt)
+[![Build Status](https://travis-ci.org/raszi/mrkt.svg?branch=master)](https://travis-ci.org/raszi/mrkt)
[![Code Climate](https://codeclimate.com/github/raszi/mrkt/badges/gpa.svg)](https://codeclimate.com/github/raszi/mrkt)
[![Test Coverage](https://codeclimate.com/github/raszi/mrkt/badges/coverage.svg)](https://codeclimate.com/github/raszi/mrkt)
+[![Gem Version](https://badge.fury.io/rb/mrkt.svg)](https://badge.fury.io/rb/mrkt)
-This gem provides some level of abstraction to Marketo REST APIs. Please note that this gem is alpha quality.
+This gem provides some level of abstraction to Marketo REST APIs. Please note that this gem is alpha quality.
## Installation
Add this line to your application's Gemfile:
@@ -37,20 +38,20 @@
### Create a client and authenticate
```ruby
client = Mrkt::Client.new(
- host: '123-abc-123.mktorest.com',
- client_id: '4567e1cdf-0fae-4685-a914-5be45043f2d8',
+ host: '123-abc-123.mktorest.com',
+ client_id: '4567e1cdf-0fae-4685-a914-5be45043f2d8',
client_secret: '7Gn0tuiHZiDHnzeu9P14uDQcSx9xIPPt')
```
If you need verbosity during troubleshooting, enable debug mode:
```ruby
client = Mrkt::Client.new(
- host: '123-abc-123.mktorest.com',
- client_id: '4567e1cdf-0fae-4685-a914-5be45043f2d8',
+ host: '123-abc-123.mktorest.com',
+ client_id: '4567e1cdf-0fae-4685-a914-5be45043f2d8',
client_secret: '7Gn0tuiHZiDHnzeu9P14uDQcSx9xIPPt',
debug: true,
logger: ::Logger.new("log/marketo.log"), # optional, defaults to Faraday default of logging to STDOUT
log_options: {bodies: true}) # optional, defaults to Faraday default of only logging headers
```