Class: DashOverlord::UseCases::V1::Clients::Create::AssignAttributesToClient
- Defined in:
- lib/dash_overlord/use_cases/v1/clients/create/assign_attributes_to_client.rb
Constant Summary
Constants inherited from Base
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
context_reader, #final, #initialize, perform, target, #target_valid?
Constructor Details
This class inherits a constructor from DashOverlord::UseCases::Base
Instance Method Details
#perform ⇒ Object
8 9 10 11 12 |
# File 'lib/dash_overlord/use_cases/v1/clients/create/assign_attributes_to_client.rb', line 8 def perform context.client.assign_attributes client_attributes context.client.uid = context.client.name.to_s.underscore end |