rallio 0.6.3 → 0.6.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7de2ae60e004154bd4c92f678464965fdf0eca29
4
- data.tar.gz: 293a8bbb355c404d3b12e192614c9b157a9cf566
3
+ metadata.gz: 72401feeba4bc2a106d24ef8b590f7a02ae4b41a
4
+ data.tar.gz: 81352da10c0f271d46d3d883c0e0bd75f097675c
5
5
  SHA512:
6
- metadata.gz: 2a16e12baaf53cae8c64f7a54e77b3e79447246df4a6fec01accca1c42a21b3e75268b839fe49783f193623557d22c97ed8520bd29640833d683a6ed92f2ba08
7
- data.tar.gz: eb4a3496e30031fc3bb47922d2c16fe87f8a0af43a44d29a94dd8b26fd97d24d6e951d130108203ad4e75afe2a5fe944c0725d33d4793498ea5deb58f29a5424
6
+ metadata.gz: 8351b059b8f06f16dd84121e31ee883b79c8d81e97fd6c15d0008e2171e03e2fbd6410bc79f423015e532b0e622ff2c257ffd760e0f477ca00dc44d903f6b45f
7
+ data.tar.gz: 3e06c82a466fdd5f68c87852c481dca0441b1a134bbe7d66d29404be0e62eb219561ce5f60d9b8b58189b49269815043aa0c5b09e5de6b067f9eec499b4df86b
@@ -33,11 +33,8 @@ module Rallio
33
33
  # @option user [String] :email unique email address
34
34
  # @option user [String] :first_name
35
35
  # @option user [String] :last_name
36
- # @param params [Hash] optional uri params sent with request
37
- # @option params [String] :connect_account_id account id to display social
38
- # connections for
39
36
  # @return [Rallio::User] user object that was just created
40
- def self.create(user:, params: {})
37
+ def self.create(user:)
41
38
  response = self.post('/users', headers: app_credentials, body: { user: user })
42
39
  new response.parsed_response['user']
43
40
  end
@@ -45,9 +42,12 @@ module Rallio
45
42
  # Creates new single signon for user to be redirected to.
46
43
  # @see Rallio::SignOnToken
47
44
  #
45
+ # @param params [Hash] optional uri params sent with request
46
+ # @option params [String] :connect_account_id account id to display social
47
+ # connections for
48
48
  # @return [Rallio::SignOnToken]
49
- def sign_on_token
50
- SignOnToken.create(user_id: id)
49
+ def sign_on_token(params: {})
50
+ SignOnToken.create(user_id: id, params: params)
51
51
  end
52
52
 
53
53
  # Creates or returns the API access token for user.
@@ -1,3 +1,3 @@
1
1
  module Rallio
2
- VERSION = "0.6.3"
2
+ VERSION = "0.6.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rallio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.3
4
+ version: 0.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - JD Guzman