Sha256: d808bfd55d92d58dd46115e6ad60f622511e68a158b2fd2a13fa71ba0486f26a
Contents?: true
Size: 441 Bytes
Versions: 2
Compression:
Stored size: 441 Bytes
Contents
module BunnyApp class PortalSession @portal_session_create_mutation = <<-'GRAPHQL' mutation portalSessionCreate ($tenantCode: String!) { portalSessionCreate (tenantCode: $tenantCode) { token errors } } GRAPHQL def self.create(tenant_code:) variables = { tenantCode: tenant_code } Client.new.query(@portal_session_create_mutation, variables) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bunny_app-1.28.0 | lib/bunny_app/portal_session.rb |
bunny_app-1.26.0 | lib/bunny_app/portal_session.rb |