Sha256: 34b12810597e56585d0fa9a65959dcf5b12d382d8c30d54fb853558281c0f1e1

Contents?: true

Size: 710 Bytes

Versions: 2

Compression:

Stored size: 710 Bytes

Contents

# typed: true
# frozen_string_literal: true

require 'clean_architecture/interfaces/targeted_parameters'
require 'clean_architecture/interfaces/authorization_parameters'

module CleanArchitecture
  module Entities
    class TargetedParameters
      attr_reader :actor, :extra_parameters_hash, :gateway, :target, :settings

      implements_interface Interfaces::TargetedParameters
      implements_interface Interfaces::AuthorizationParameters

      def initialize(actor, target, extra_parameters_hash, gateway, settings)
        @actor = actor
        @target = target
        @extra_parameters_hash = extra_parameters_hash
        @gateway = gateway
        @settings = settings
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
clean-architecture-5.0.2 lib/clean_architecture/entities/targeted_parameters.rb
clean-architecture-5.0.1 lib/clean_architecture/entities/targeted_parameters.rb