bunny_app 1.26.0 → 1.27.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: c4a0f74a46c3e5505608ea9389c134bd7e3a8a0fa6393fe897c3eda833bef8d3
4
- data.tar.gz: a341f3d6e05c48d8bb56b153a3a15249203278dda2f9e21e32070129837d9b79
3
+ metadata.gz: d67f3187a50fd1d998075d81e8f345c78a5f231b1d907638284610509533ff05
4
+ data.tar.gz: 8f259894ea6e004c8c87de34372fb1a660377b2f2e4ec3ee873a3a0bdd8777b6
5
5
  SHA512:
6
- metadata.gz: d2a1c374be36a3bc46afd029156b9cfcc037a3ce0bba6118649d5355427ea26704c90e1cc2df66221ec6dabde86bb059b2c0346897dead83da3954fe624c9c95
7
- data.tar.gz: 59552af3c0b3b70e6be6f666f8ebf6ba2e80c854230ee5fcdfdfce3ff6cbaf3772443d5ac9b27947585d434e1d4b4fb9a1d39f044f58eb4967db492d9fc267e4
6
+ metadata.gz: 451b3e299194c86da0439f0ae1a736872d73a040849bf11cb7dab34dc67f765e7442b6e1468ec8ee09c8307f80d0704b42ecd8c3f30d706d44485a546eeb87d8
7
+ data.tar.gz: 88e7d2fbd433ef046a67e5b7c8d9ffb7579f2ea39a5a245266489cc9af4486b9bf7f312be331dc4f63a554b5a5d4921456ede28907ea667b9e9206c77929d028
@@ -9,9 +9,11 @@ module BunnyApp
9
9
  }
10
10
  GRAPHQL
11
11
 
12
- def self.create(tenant_code:)
12
+ def self.create(tenant_code:, expiry_hours: 24, return_url: nil)
13
13
  variables = {
14
- tenantCode: tenant_code
14
+ tenantCode: tenant_code,
15
+ returnUrl: return_url,
16
+ expiry: expiry_hours
15
17
  }
16
18
 
17
19
  Client.new.query(@portal_session_create_mutation, variables)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module BunnyApp
4
- VERSION = '1.26.0'
4
+ VERSION = '1.27.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.26.0
4
+ version: 1.27.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-25 00:00:00.000000000 Z
12
+ date: 2023-06-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: httparty