bunny_app 1.23.0 → 1.24.0

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: de9822b5c8f2a3e7d121b0475e74e8f10bd974a2463257d2843b343fe72f188c
4
- data.tar.gz: 836e2e8c9ceae9b0fa206b91e2b3be132afc1cae615cc6cc0bb640a3cc8d6c7b
3
+ metadata.gz: ff90fdfad4c4f392712b064e24008969d06ccd094ab0ec08c7af632fae260c6d
4
+ data.tar.gz: ad0a4ca25bf828a86aaedfa91eb2f56a4fbd7bedebaf71e250e623e37f98509a
5
5
  SHA512:
6
- metadata.gz: e2900d6f1e399aab13c069032926c7dac253b0ae8577e5aa16bb5ed06af586d7e8b108a721bfce2f1c9bf04d905a8209707847ace93fdd3b040d11b8246552c9
7
- data.tar.gz: 13a21e70ae4845830c3f0179cb5e502a9edca630a95c86a2396c236efef4bdf76671a34f594a7940226b344dad12e5ba6e5f797e1de59cae8444ea9842696b54
6
+ metadata.gz: 3ac116e866190940b1e6287ee30107420a04191c574f54e118995fa628f5e4eda64a1f76658053051ed96e7dda790657f3ba2d05c57240e11e7eb717532b3044
7
+ data.tar.gz: da749c01c6f07a77f31a3d486353681f8226032dd36988f46f026c5e5995f46aa9f103a037170891d3d103f9dace6cd8990902e7d57cd09088192fdf083f7f82
data/README.md CHANGED
@@ -62,7 +62,7 @@ Create a config file at `config/initializers/bunny_app.rb`
62
62
 
63
63
  ```ruby
64
64
  response = BunnyApp::Subscription.create(
65
- product_plan_code: 'starter',
65
+ price_list_code: 'starter',
66
66
  options: {
67
67
  account_name: "Superdesk",
68
68
  first_name: "Meg",
@@ -39,10 +39,10 @@ module BunnyApp
39
39
  GRAPHQL
40
40
 
41
41
  # rubocop:disable Metrics/PerceivedComplexity, Metrics/CyclomaticComplexity
42
- def self.create(product_plan_code:, options: {})
42
+ def self.create(price_list_code:, options: {})
43
43
  variables = {
44
44
  attributes: {
45
- productPlanCode: product_plan_code,
45
+ priceListCode: price_list_code,
46
46
  trial: options[:trial] || false
47
47
  }
48
48
  }
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module BunnyApp
4
- VERSION = '1.23.0'
4
+ VERSION = '1.24.0'
5
5
  end
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.23.0
4
+ version: 1.24.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: 2023-01-04 00:00:00.000000000 Z
12
+ date: 2023-01-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: httparty