Sha256: 10fbbf72713db56d3b49331e79310e45f9e716d30564b49d389da00578be5e5e

Contents?: true

Size: 236 Bytes

Versions: 2

Compression:

Stored size: 236 Bytes

Contents

# frozen_string_literal: true

module Logux
  class Policy
    class UnauthorizedError < StandardError; end

    attr_reader :action, :meta

    def initialize(action:, meta:)
      @action = action
      @meta = meta
    end
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
logux-rack-0.1.0 lib/logux/policy.rb
logux_rails-0.1.0 lib/logux/policy.rb