edge badge
Skip to Content Skip to Search
Methods
P

Constants

POLICY = "action_dispatch.permissions_policy"
 

Instance Public methods

permissions_policy()

# File actionpack/lib/action_dispatch/http/permissions_policy.rb, line 57
def permissions_policy
  get_header(POLICY)
end

permissions_policy=(policy)

# File actionpack/lib/action_dispatch/http/permissions_policy.rb, line 61
def permissions_policy=(policy)
  set_header(POLICY, policy)
end