Sha256: 40fe522408b314d9615ebbdc4fce6cf8e7150829855c8fce0e383d4721a509e1
Contents?: true
Size: 588 Bytes
Versions: 22
Compression:
Stored size: 588 Bytes
Contents
require 'parliament' require 'parliament/ntriple' module Parliament module Utils module Helpers module ParliamentHelper def self.parliament_request Parliament::Request::UrlRequest.new( builder: Parliament::Builder::NTripleResponseBuilder, headers: { 'Ocp-Apim-Subscription-Key': ENV['PARLIAMENT_AUTH_TOKEN'] }, decorators: Parliament::Grom::Decorator ) end def parliament_request Parliament::Utils::Helpers::ParliamentHelper.parliament_request end end end end end
Version data entries
22 entries across 22 versions & 1 rubygems