Sha256: acf1893c8e35232f7ef7e10f5759fc7592e0a4e30c9743b1fd9ab6d7796ca2f4

Contents?: true

Size: 337 Bytes

Versions: 8

Compression:

Stored size: 337 Bytes

Contents

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
eco-helpers-0.9.2 lib/eco/api/policies/base_policy.rb
eco-helpers-0.9.1 lib/eco/api/policies/base_policy.rb
eco-helpers-0.8.4 lib/eco/api/policies/base_policy.rb
eco-helpers-0.8.3 lib/eco/api/policies/base_policy.rb
eco-helpers-0.8.2 lib/eco/api/policies/base_policy.rb
eco-helpers-0.8.1 lib/eco/api/policies/base_policy.rb
eco-helpers-0.7.2 lib/eco/api/policies/base_policy.rb
eco-helpers-0.7.1 lib/eco/api/policies/base_policy.rb