Sha256: b6129a6c76dc6daa6cc8bf0df41f238f1b9a1910ab173781a8dc5dadc219d87c
Contents?: true
Size: 523 Bytes
Versions: 2
Compression:
Stored size: 523 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.server, schema_path: File.join(__dir__, "bb_schema.json"), headers: { "Authorization" => settings.api_key }) end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
decidim-bulletin_board-0.10.1 | lib/decidim/bulletin_board/graphql/factory.rb |
decidim-bulletin_board-0.10.0 | lib/decidim/bulletin_board/graphql/factory.rb |