Sha256: 67d5a57a794dbe37f4016cdda3869cd8869e05c3b8407177dde32df067ad84a7
Contents?: true
Size: 359 Bytes
Versions: 28
Compression:
Stored size: 359 Bytes
Contents
# frozen_string_literal: true module Hyrax class ArkivoConstraint def self.matches?(_request) # Add your own logic here to authorize trusted connections to # the API e.g., if your installation of Arkivo runs on a host # with the 10.0.0.3 IP address, you could use: # request.remote_ip == '10.0.0.3' false end end end
Version data entries
28 entries across 28 versions & 1 rubygems