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, persistence, settings) ⇒ TargetedParameters



11
12
13
14
15
16
17
# File 'lib/clean_architecture/entities/targeted_parameters.rb', line 11

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

Instance Attribute Details

#actorObject (readonly)

Returns the value of attribute actor.



6
7
8
# File 'lib/clean_architecture/entities/targeted_parameters.rb', line 6

def actor
  @actor
end

#extra_parameters_hashObject (readonly)

Returns the value of attribute extra_parameters_hash.



6
7
8
# File 'lib/clean_architecture/entities/targeted_parameters.rb', line 6

def extra_parameters_hash
  @extra_parameters_hash
end

#persistenceObject (readonly)

Returns the value of attribute persistence.



6
7
8
# File 'lib/clean_architecture/entities/targeted_parameters.rb', line 6

def persistence
  @persistence
end

#settingsObject (readonly)

Returns the value of attribute settings.



6
7
8
# File 'lib/clean_architecture/entities/targeted_parameters.rb', line 6

def settings
  @settings
end

#targetObject (readonly)

Returns the value of attribute target.



6
7
8
# File 'lib/clean_architecture/entities/targeted_parameters.rb', line 6

def target
  @target
end