class Cuprum::Collections::Basic::Commands::AssignOne

Command for assigning attributes to a collection entity.

Private Instance Methods

process(attributes:, entity:) click to toggle source
# File lib/cuprum/collections/basic/commands/assign_one.rb, line 48
def process(attributes:, entity:)
  attributes = tools.hsh.convert_keys_to_strings(attributes)

  entity.merge(attributes)
end