Sha256: 88822e6389f253babf41b9a8132bd6537b75fd3e6cf368de7e42c3f8ae91eeeb

Contents?: true

Size: 255 Bytes

Versions: 21

Compression:

Stored size: 255 Bytes

Contents

module RailsConnector
  class Configuration
    module PdfGenerator
      @@hosts = []

      def self.host_whitelist(*hosts)
        @@hosts = hosts
      end

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

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
infopark_rails_connector-6.8.0.beta.200.621.4c8e1b0 lib/rails_connector/configuration/pdf_generator.rb