Sha256: f35ae6774acdfa1749b45455d923128219fca34e5eeb359d0e25b6229a1e59d4
Contents?: true
Size: 294 Bytes
Versions: 1
Compression:
Stored size: 294 Bytes
Contents
# frozen_string_literal: true module Apress module Api class CallbackPolicy attr_reader :client def initialize(client, _callback) @client = client end def create? Apress::Api::Callbacks::Config.allowed_client?(client) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
apress-api-1.24.2 | app/policies/apress/api/callback_policy.rb |