Sha256: ee3c22df42d2d64c830afd56db303a0cfa9451188fcc2d7e1f1e96670890c32f
Contents?: true
Size: 548 Bytes
Versions: 6
Compression:
Stored size: 548 Bytes
Contents
# frozen_string_literal: true module Decidim module BulletinBoard module Graphql class Factory # The Bulletin Board GraphQL client factory def self.client_for(settings) Graphlient::Client.new(settings.bulletin_board_server, schema_path: File.join(__dir__, "bb_schema.json"), headers: { "Authorization" => settings.authority_api_key }) end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems