module Eco module API module Policies class BasePolicy < Eco::API::UseCases::BaseCase def initialize(policies, **options) raise "Expected UsedPolicies. Given: #{policies.class}" unless policies.is_a?(UsedPolicies) super(policies, **options) end end end end end