uscreen_api 0.1.0 → 0.1.1

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
  SHA256:
3
- metadata.gz: 7eb14d38f28ebdd8aedd1deedabf0977b33dbb52cedb22c2921c753152bb17d5
4
- data.tar.gz: a4c4c4882e9a4b832d03497dac3e0c52c8b8d1a83d84663c9c85a97246b900ae
3
+ metadata.gz: dabe74b714b2834a0a01cceebcd32d5a096b447cba13f83064c614ed0037c947
4
+ data.tar.gz: fdc515202c4df5e64241d9cca0e77d858ed1e0546aba454e02e2ddc58c4b931e
5
5
  SHA512:
6
- metadata.gz: 0ac100e9869c6963735ad891b770019e858c23aeb8bba1b934f8a5c34e730ea203fae024797e0447d6dac30728783aa5b259e96dbaff62e38b255df7db62d987
7
- data.tar.gz: 3f2f2cfc17284449ad7af18d90c56d9955cdb701ad70333d0d2c308fd8e774defff0131bc77b3938fc41d1880b9fdd33f8f628e2478c2416809152a4a5edf501
6
+ metadata.gz: c01ab1ee8906107d20357b4b38bdb0e4ec4fc9a215e0d03456b337d10acacaa0be70f87f0f10f7c6491819b3cd0eb73a2f8a02ac8a46e048cf2e63eb69f17bcf
7
+ data.tar.gz: 1457f0bf34035cd21afb5cd8cca69582dba41b9af84ad33024b2e2c85c69106cffab8999a61685d779d0349bc666dc7e12584ab443796246a6216cbe608b198c
@@ -40,17 +40,17 @@ module UscreenAPI
40
40
  def create(
41
41
  email:,
42
42
  name:,
43
- password:,
43
+ password: nil,
44
44
  payment_user_id: nil,
45
45
  skip_invite: nil,
46
46
  opted_in_for_news_and_updates: nil,
47
47
  custom_fields: {}
48
48
  )
49
49
  response = client.connection.post(PATH) do |req|
50
- req.body = {}
51
-
52
- req.body["email"] = email if email
53
- req.body["name"] = name if name
50
+ req.body = {
51
+ email: email,
52
+ name: name
53
+ }
54
54
  req.body["password"] = password if password
55
55
  req.body["payment_user_id"] = payment_user_id if payment_user_id
56
56
  req.body["skip_invite"] = skip_invite if skip_invite
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module UscreenAPI
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uscreen_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrei Bondarev
8
8
  bindir: exe
9
9
  cert_chain: []
10
- date: 2025-01-07 00:00:00.000000000 Z
10
+ date: 2025-01-08 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: faraday