Sha256: 7abfb51a978cea3227488a35f48c12a8515e9bbef62d8ced3f8d6f9e785b153b
Contents?: true
Size: 358 Bytes
Versions: 30
Compression:
Stored size: 358 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' true end end end
Version data entries
30 entries across 25 versions & 1 rubygems