Skip to content

Commit 10cfd5d

Browse files
committed
version 2.2.3
1 parent c84d239 commit 10cfd5d

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Additionally, the new version uses Ruby 2.
1919

2020
Using bundler:
2121

22-
gem 'intercom', "~> 2.2.2"
22+
gem 'intercom', "~> 2.2.3"
2323

2424
## Basic Usage
2525

@@ -343,3 +343,13 @@ Intercom::BadRequestError
343343
Intercom::RateLimitExceeded
344344
Intercom::AttributeNotSetError # Raised when you try to call a getter that does not exist on an object
345345
```
346+
347+
### Rate Limiting
348+
349+
Calling `Intercom.rate_limit_details` returns a Hash that contains details about your app's current rate limit.
350+
351+
```ruby
352+
Intercom.rate_limit_details
353+
#=> {:limit=>180, :remaining=>179, :reset_at=>2014-10-07 14:58:00 +0100}
354+
```
355+

changes.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2.2.3
2+
- Add rate limiting details to Intercom.rate_limiting_details
3+
14
2.2.2
25
- Improve spec strings (thanks to @jkeyes)
36
- Improve README readability (thanks to @jkeyes)

lib/intercom/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module Intercom #:nodoc:
2-
VERSION = "2.2.2"
2+
VERSION = "2.2.3"
33
end

0 commit comments

Comments
 (0)