gooddata 0.5.14 → 0.5.15
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -1
- data/lib/gooddata/client.rb +10 -0
- data/lib/gooddata/version.rb +1 -1
- metadata +1 -1
data/Gemfile
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
source
|
1
|
+
source 'https://rubygems.org'
|
2
2
|
|
data/lib/gooddata/client.rb
CHANGED
@@ -88,6 +88,16 @@ module GoodData
|
|
88
88
|
threaded[:connection] = Connection.new user, password, url, options
|
89
89
|
end
|
90
90
|
|
91
|
+
# Hepler for starting with SST easier
|
92
|
+
# === Parameters
|
93
|
+
#
|
94
|
+
# * +token+ - SST token
|
95
|
+
# * +options+ - options get routed to connect eventually so everything that you can use there should be possible to use here.
|
96
|
+
#
|
97
|
+
def connect_with_sst(token, options={})
|
98
|
+
create_authenticated_connection(options.merge({:cookies => {"GDCAuthSST" => token}}))
|
99
|
+
end
|
100
|
+
|
91
101
|
# This method is aimed at creating an authenticated connection in case you do not hae pass/login but you have SST
|
92
102
|
# === Parameters
|
93
103
|
#
|
data/lib/gooddata/version.rb
CHANGED