ringcentral_sdk 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/ringcentral_sdk/rest/client.rb +3 -3
- data/lib/ringcentral_sdk.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 51c0f6c2ea830b383183dc9a4438089399505bf0
|
4
|
+
data.tar.gz: fc77837df789066d90b8ed0a478687251ef51cc4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd908cd6b1207fda3f891277f4ecf5b6c18a4a6cd75f8f5274ce765591919ef2579d4b95a4192213897f6525144e8a4ceac1bf06ac011200b4b5228a33249dde
|
7
|
+
data.tar.gz: e5a1ec3e4a6cdf097db8c9ba739d607d0cecc4a4c27d2d50773158edb2b9652cddaa17d68c20a3277a11b25d4d37618498e25be660a3093dd56c1ef9eb97e64d
|
data/CHANGELOG.md
CHANGED
@@ -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.
|
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
|
45
|
+
def set_app_config(new_app_config)
|
46
46
|
@app_config = new_app_config
|
47
47
|
@oauth2client = new_oauth2_client()
|
48
48
|
end
|
data/lib/ringcentral_sdk.rb
CHANGED