Class: CleanArchitecture::Entities::TargetedParameters

Inherits:
Object
  • Object
show all
Defined in:
lib/clean_architecture/entities/targeted_parameters.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(actor, target, extra_parameters_hash, gateway, settings) ⇒ TargetedParameters

Returns a new instance of TargetedParameters.



15
16
17
18
19
20
21
# File 'lib/clean_architecture/entities/targeted_parameters.rb', line 15

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

Instance Attribute Details

#actorObject (readonly)

Returns the value of attribute actor.



10
11
12
# File 'lib/clean_architecture/entities/targeted_parameters.rb', line 10

def actor
  @actor
end

#extra_parameters_hashObject (readonly)

Returns the value of attribute extra_parameters_hash.



10
11
12
# File 'lib/clean_architecture/entities/targeted_parameters.rb', line 10

def extra_parameters_hash
  @extra_parameters_hash
end

#gatewayObject (readonly)

Returns the value of attribute gateway.



10
11
12
# File 'lib/clean_architecture/entities/targeted_parameters.rb', line 10

def gateway
  @gateway
end

#settingsObject (readonly)

Returns the value of attribute settings.



10
11
12
# File 'lib/clean_architecture/entities/targeted_parameters.rb', line 10

def settings
  @settings
end

#targetObject (readonly)

Returns the value of attribute target.



10
11
12
# File 'lib/clean_architecture/entities/targeted_parameters.rb', line 10

def target
  @target
end