Sha256: 879fc16d4cf074777233239f68cceb35c8ac7e2f2a1a4d2363885b43b4926241

Contents?: true

Size: 309 Bytes

Versions: 9

Compression:

Stored size: 309 Bytes

Contents

module RailsConnector
  # @api public
  class Configuration
    # @api public
    module PdfGenerator
      @@hosts = []

      # @api public
      def self.host_whitelist(*hosts)
        @@hosts = hosts
      end

      def self.host_allowed?(host)
        @@hosts.include?(host)
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
infopark_rails_connector-6.8.0.515.34928522 lib/rails_connector/configuration/pdf_generator.rb
infopark_rails_connector-6.8.0.498.46559598 lib/rails_connector/configuration/pdf_generator.rb
infopark_rails_connector-6.8.0.480.261594408 lib/rails_connector/configuration/pdf_generator.rb
infopark_rails_connector-6.8.0.444.171626367 lib/rails_connector/configuration/pdf_generator.rb
infopark_rails_connector-6.8.0.406.131718077 lib/rails_connector/configuration/pdf_generator.rb
infopark_rails_connector-6.8.0.356.19698103 lib/rails_connector/configuration/pdf_generator.rb
infopark_rails_connector-6.8.0.348.160665197 lib/rails_connector/configuration/pdf_generator.rb
infopark_rails_connector-6.8.0.328.4a753fc lib/rails_connector/configuration/pdf_generator.rb
infopark_rails_connector-6.8.0.322.c003f11 lib/rails_connector/configuration/pdf_generator.rb