README.md in mailup-1.1.0 vs README.md in mailup-1.2.0
- old
+ new
@@ -1,9 +1,13 @@
# Mailup Ruby
A Ruby gem for interacting with the MailUp REST API.
+[![Build Status](https://travis-ci.org/mailup/mailup-ruby.svg)](https://travis-ci.org/mailup/mailup-ruby)
+[![Coverage Status](https://img.shields.io/coveralls/mailup/mailup-ruby.svg)](https://coveralls.io/r/mailup/mailup-ruby)
+[![Code Climate](https://codeclimate.com/github/mailup/mailup-ruby/badges/gpa.svg)](https://codeclimate.com/github/mailup/mailup-ruby)
+[![Dependency Status](https://gemnasium.com/mailup/mailup-ruby.svg)](https://gemnasium.com/mailup/mailup-ruby)
## Installation
Install the gem directly:
```ruby
@@ -35,11 +39,11 @@
refresh_token: "...",
expires_at: 1234567890
}
}
-mailup = MailUp::Api.new(credentials)
+mailup = MailUp::API.new(credentials)
```
### Console Methods
Check out the [console methods API documentation](http://help.mailup.com/display/mailupapi/Console+methods+v1.1) for more information.
@@ -74,6 +78,6 @@
views_count = mailup.stats.message(17).views_count
# => 250
fields = mailup.stats.recipient(5).fields
# => {"IsPaginated"=>true, "Items"=>[{"Description"=>"AllOrderedProductIDs", "Id"=>26}, ...], ...}
-```
\ No newline at end of file
+```