ringcentral_sdk 1.2.0 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ab1568adfa0b75e2499ca45a6ecfb8aab7fb8a9b
4
- data.tar.gz: 12f9564a379c2360a97446a236768e111f7043d8
3
+ metadata.gz: 51c0f6c2ea830b383183dc9a4438089399505bf0
4
+ data.tar.gz: fc77837df789066d90b8ed0a478687251ef51cc4
5
5
  SHA512:
6
- metadata.gz: 4a3589d87ec26898d95400919ca9a32bee0ef82458566ea8e4fcacb5933d61ed65405afba5672c19f84b5c6c16210792917de809be51b527656550b51134c587
7
- data.tar.gz: 0dd57841c119378949b680aff89c28a70bf370eabbba26b4444ab16e3ea63a3e8ed2d35985540d4f6d038ef0fe1351e9402ecac437802897a0c30e1b7d5e9e47
6
+ metadata.gz: fd908cd6b1207fda3f891277f4ecf5b6c18a4a6cd75f8f5274ce765591919ef2579d4b95a4192213897f6525144e8a4ceac1bf06ac011200b4b5228a33249dde
7
+ data.tar.gz: e5a1ec3e4a6cdf097db8c9ba739d607d0cecc4a4c27d2d50773158edb2b9652cddaa17d68c20a3277a11b25d4d37618498e25be660a3093dd56c1ef9eb97e64d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  CHANGELOG
2
2
  ---------
3
+ - **2016-04-23**: 1.2.1
4
+ - Updates
5
+ - Update `RingCentral::REST::Client` `app_config =` to `set_app_config`
3
6
  - **2016-04-23**: 1.2.0
4
7
  - Additions
5
8
  - Add `RingCentral::REST::Client` custom instance headers support
@@ -29,8 +29,8 @@ module RingCentralSdk::REST
29
29
 
30
30
  def initialize(app_key='', app_secret='', server_url=RingCentralSdk::RC_SERVER_SANDBOX, opts={})
31
31
  init_attributes()
32
- self.app_config = RingCentralSdk::REST::ConfigApp.new(
33
- app_key, app_secret, server_url, opts)
32
+ self.set_app_config( RingCentralSdk::REST::ConfigApp.new(
33
+ app_key, app_secret, server_url, opts) )
34
34
 
35
35
  if opts.key?(:username) && opts.key?(:password)
36
36
  extension = opts.key?(:extension) ? opts[:extension] : ''
@@ -42,7 +42,7 @@ module RingCentralSdk::REST
42
42
  @messages = RingCentralSdk::REST::Messages.new self
43
43
  end
44
44
 
45
- def app_config=(new_app_config)
45
+ def set_app_config(new_app_config)
46
46
  @app_config = new_app_config
47
47
  @oauth2client = new_oauth2_client()
48
48
  end
@@ -1,5 +1,5 @@
1
1
  module RingCentralSdk
2
- VERSION = '1.2.0'
2
+ VERSION = '1.2.1'
3
3
 
4
4
  RC_SERVER_PRODUCTION = 'https://platform.ringcentral.com'
5
5
  RC_SERVER_SANDBOX = 'https://platform.devtest.ringcentral.com'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ringcentral_sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Wang