ringcentral_sdk 1.2.2 → 1.2.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ab2c48c3882d936b0bb470b627a114086bd550a6
4
- data.tar.gz: 4c0c4e621ef2e37628374afeb3348aa722debb8f
3
+ metadata.gz: 5241b80c9b064f0ee4c021d86316612f3008d896
4
+ data.tar.gz: 8664676e294bb0205b4347be52bc163f9a345281
5
5
  SHA512:
6
- metadata.gz: 7adbfc3b60c6b520226ef30149b772bbd5ad31b86274e004b43ab6ba95bd450cac00c73234f1c3382cbb91900fd48c2c4fee0808aeb65b9d70d1c37bd4082cf3
7
- data.tar.gz: e8b3fa8f67ba7f9103c9c6243a41eba70a7b6685e1750c202cbd52f6a6d745bab1cfd7b9716c3ac7c57dda8ed7fabdd7109f3e244163ac4bf3160594a1034ee7
6
+ metadata.gz: 375996f0b06a945a6949e0cca5f066de9275031b45703b35917ddf936ff9b7fcb319cf7dbecd43a2e7268830b9addb4a9651b4ae21df7e46610453e838273098
7
+ data.tar.gz: 8f41184cd1f381bcf8e81561715ee048f113641235d0d5c6195bf2e4706bc181480a3ebdfd8ed44682fdbdd06b8647c0a2df0c6caa2e2f7a57ceb3370856d88c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  CHANGELOG
2
2
  ---------
3
+ - **2016-06-01**: 1.2.3
4
+ - Updates
5
+ - Update subscription for new header requirement
3
6
  - **2016-05-30**: 1.2.2
4
7
  - Additions
5
8
  - Add `RingCentralSdk::REST::Request::Fax` to support all `MIME::Media` MIME parts
@@ -74,6 +74,7 @@ module RingCentralSdk::REST
74
74
  begin
75
75
  response = @_client.http.post do |req|
76
76
  req.url 'subscription'
77
+ req.headers['Content-Type'] = 'application/json'
77
78
  req.body = {
78
79
  eventFilters: @_client.create_urls(@event_filters),
79
80
  deliveryMode: {
@@ -1,5 +1,5 @@
1
1
  module RingCentralSdk
2
- VERSION = '1.2.2'
2
+ VERSION = '1.2.3'
3
3
 
4
4
  RC_SERVER_PRODUCTION = 'https://platform.ringcentral.com'
5
5
  RC_SERVER_SANDBOX = 'https://platform.devtest.ringcentral.com'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ringcentral_sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2
4
+ version: 1.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Wang
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-30 00:00:00.000000000 Z
11
+ date: 2016-06-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dotenv