方法
常量
POLICY | = | "action_dispatch.permissions_policy" |
实例公共方法
permissions_policy() 链接
源代码: 显示 | 在 GitHub 上查看
# File actionpack/lib/action_dispatch/http/permissions_policy.rb, line 68 def permissions_policy get_header(POLICY) end
permissions_policy=(policy) 链接
源代码: 显示 | 在 GitHub 上查看
# File actionpack/lib/action_dispatch/http/permissions_policy.rb, line 72 def permissions_policy=(policy) set_header(POLICY, policy) end