rallio 0.6.2 → 0.6.3

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: 2ca72e17239d06835bb4b9eeacb1fb504c56145a
4
- data.tar.gz: c7195ea8fdc861ecac336fc7e486858d8750777e
3
+ metadata.gz: 7de2ae60e004154bd4c92f678464965fdf0eca29
4
+ data.tar.gz: 293a8bbb355c404d3b12e192614c9b157a9cf566
5
5
  SHA512:
6
- metadata.gz: e3b02b7d3c908895f4a2c4a033566ad94fe9455c97e1d182add6b5454c2d84a20ade40da1ad4297bec0e9934cfa633820819a9e4301374523d03db5d0947e6de
7
- data.tar.gz: '09ec331ab7fb20aadc0843bdb115d0b3b004c65dfb7206f40cb76153386b86aca66d69fe7c70c5754e6fa53bd16921abb05f9c2b49e0e0e6a12b4ff4273f2e7c'
6
+ metadata.gz: 2a16e12baaf53cae8c64f7a54e77b3e79447246df4a6fec01accca1c42a21b3e75268b839fe49783f193623557d22c97ed8520bd29640833d683a6ed92f2ba08
7
+ data.tar.gz: eb4a3496e30031fc3bb47922d2c16fe87f8a0af43a44d29a94dd8b26fd97d24d6e951d130108203ad4e75afe2a5fe944c0725d33d4793498ea5deb58f29a5424
@@ -16,8 +16,8 @@ module Rallio
16
16
  #
17
17
  # @param user_id [Integer]
18
18
  # @return [Rallio::SignOnToken]
19
- def self.create(user_id:)
20
- response = self.post("/users/#{user_id}/sign_on_tokens", headers: app_credentials)
19
+ def self.create(user_id:, params: {})
20
+ response = self.post("/users/#{user_id}/sign_on_tokens", headers: app_credentials, params: params)
21
21
  new response.parsed_response['sign_on_token']
22
22
  end
23
23
  end
data/lib/rallio/user.rb CHANGED
@@ -33,8 +33,11 @@ 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
36
39
  # @return [Rallio::User] user object that was just created
37
- def self.create(user:)
40
+ def self.create(user:, params: {})
38
41
  response = self.post('/users', headers: app_credentials, body: { user: user })
39
42
  new response.parsed_response['user']
40
43
  end
@@ -1,3 +1,3 @@
1
1
  module Rallio
2
- VERSION = "0.6.2"
2
+ VERSION = "0.6.3"
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.2
4
+ version: 0.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - JD Guzman