Module: ActionDispatch::PermissionsPolicy::Request

Included in:
Request
Defined in:
actionpack/lib/action_dispatch/http/permissions_policy.rb

Constant Summary collapse

POLICY =
"action_dispatch.permissions_policy"

Instance Method Summary collapse

Instance Method Details

#permissions_policyObject



74
75
76
# File 'actionpack/lib/action_dispatch/http/permissions_policy.rb', line 74

def permissions_policy
  get_header(POLICY)
end

#permissions_policy=(policy) ⇒ Object



78
79
80
# File 'actionpack/lib/action_dispatch/http/permissions_policy.rb', line 78

def permissions_policy=(policy)
  set_header(POLICY, policy)
end