class Sufia::ArkivoConstraint
Public Class Methods
matches?(_request)
click to toggle source
# File lib/generators/sufia/templates/config/arkivo_constraint.rb, line 3 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