bunny_app 1.22.0 → 1.23.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bunny_app/subscription.rb +15 -10
- data/lib/bunny_app/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de9822b5c8f2a3e7d121b0475e74e8f10bd974a2463257d2843b343fe72f188c
|
4
|
+
data.tar.gz: 836e2e8c9ceae9b0fa206b91e2b3be132afc1cae615cc6cc0bb640a3cc8d6c7b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2900d6f1e399aab13c069032926c7dac253b0ae8577e5aa16bb5ed06af586d7e8b108a721bfce2f1c9bf04d905a8209707847ace93fdd3b040d11b8246552c9
|
7
|
+
data.tar.gz: 13a21e70ae4845830c3f0179cb5e502a9edca630a95c86a2396c236efef4bdf76671a34f594a7940226b344dad12e5ba6e5f797e1de59cae8444ea9842696b54
|
@@ -3,24 +3,28 @@ module BunnyApp
|
|
3
3
|
@subscription_create_mutation = <<-'GRAPHQL'
|
4
4
|
mutation subscriptionCreate ($attributes: SubscriptionAttributes!) {
|
5
5
|
subscriptionCreate (attributes: $attributes) {
|
6
|
-
errors
|
7
6
|
subscription {
|
8
7
|
id
|
9
8
|
account {
|
9
|
+
id
|
10
|
+
name
|
11
|
+
contacts {
|
10
12
|
id
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
firstName
|
15
|
-
lastName
|
16
|
-
}
|
13
|
+
firstName
|
14
|
+
lastName
|
15
|
+
}
|
17
16
|
}
|
18
17
|
trialStartDate
|
19
18
|
trialEndDate
|
20
19
|
startDate
|
21
20
|
endDate
|
22
21
|
state
|
23
|
-
|
22
|
+
plan {
|
23
|
+
code
|
24
|
+
name
|
25
|
+
}
|
26
|
+
priceList {
|
27
|
+
code
|
24
28
|
name
|
25
29
|
}
|
26
30
|
tenant {
|
@@ -29,8 +33,9 @@ module BunnyApp
|
|
29
33
|
name
|
30
34
|
}
|
31
35
|
}
|
36
|
+
errors
|
32
37
|
}
|
33
|
-
|
38
|
+
}
|
34
39
|
GRAPHQL
|
35
40
|
|
36
41
|
# rubocop:disable Metrics/PerceivedComplexity, Metrics/CyclomaticComplexity
|
@@ -43,7 +48,7 @@ module BunnyApp
|
|
43
48
|
}
|
44
49
|
|
45
50
|
if options[:account_id]
|
46
|
-
variables[:attributes][:
|
51
|
+
variables[:attributes][:accountId] = options[:account_id]
|
47
52
|
else
|
48
53
|
variables[:attributes][:account] = {
|
49
54
|
name: options[:account_name]&.to_s,
|
data/lib/bunny_app/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bunny_app
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.23.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bunny
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2023-01-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: httparty
|