databasedotcom_additions 0.5.5 → 0.5.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/databasedotcom_additions/client.rb +7 -0
- metadata +2 -1
@@ -4,6 +4,9 @@ require 'digest/md5'
|
|
4
4
|
module Databasedotcom
|
5
5
|
class Client
|
6
6
|
|
7
|
+
attr_accessor :session_id
|
8
|
+
attr_accessor :server_url
|
9
|
+
|
7
10
|
attr_accessor :query_result_cache_enabled
|
8
11
|
attr_accessor :login_failed_user_message
|
9
12
|
|
@@ -24,6 +27,10 @@ module Databasedotcom
|
|
24
27
|
client.version = '22.0'
|
25
28
|
client.oauth_token = token
|
26
29
|
client.instance_url = "#{uri.scheme}://#{uri.host}"
|
30
|
+
|
31
|
+
client.session_id = token
|
32
|
+
client.server_url = serverUrl
|
33
|
+
|
27
34
|
rescue => e
|
28
35
|
client.login_failed_user_message = e.message
|
29
36
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: databasedotcom_additions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.6
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -80,3 +80,4 @@ signing_key:
|
|
80
80
|
specification_version: 3
|
81
81
|
summary: databasedotcom additions
|
82
82
|
test_files: []
|
83
|
+
has_rdoc:
|