ey_services_api 0.3.6 → 0.3.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -191,5 +191,20 @@ module EyServicesFake
191
191
  actor(:service_provider).send_invoice(invoices_url, total_amount_cent, line_item_description)
192
192
  end
193
193
 
194
+ def service_account_sso_url
195
+ configuration_url = service_account[:pushed_service_account][:configuration_url]
196
+ params = {
197
+ 'timestamp' => Time.now.iso8601,
198
+ 'ey_user_id' => sso_user.id,
199
+ 'ey_user_name' => "Person Name",
200
+ 'ey_return_to_url' => "https://cloud.engineyard.com/dashboard",
201
+ 'access_level' => 'owner',
202
+ }
203
+ EY::ApiHMAC::SSO.sign(configuration_url,
204
+ params,
205
+ partner[:auth_id],
206
+ partner[:auth_key])
207
+ end
208
+
194
209
  end
195
210
  end
@@ -1,3 +1,3 @@
1
1
  module EyServicesFake
2
- VERSION = "0.3.6"
2
+ VERSION = "0.3.7"
3
3
  end
@@ -1,5 +1,5 @@
1
1
  module EY
2
2
  module ServicesAPI
3
- VERSION = "0.3.6"
3
+ VERSION = "0.3.7"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ey_services_api
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 29
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 6
10
- version: 0.3.6
9
+ - 7
10
+ version: 0.3.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jacob & Thorben & David & mkb & Josh & Others