Class: Item::CopyRelatedItemsFromSiblings::Result

Inherits:
Data
  • Object
show all
Defined in:
app/services/item/copy_related_items_from_siblings.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(target_item_relations: nil, message: nil) ⇒ Result

Returns a new instance of Result.



4
# File 'app/services/item/copy_related_items_from_siblings.rb', line 4

def initialize(target_item_relations: nil, message: nil) = super

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message

Returns:

  • (Object)

    the current value of message



3
4
5
# File 'app/services/item/copy_related_items_from_siblings.rb', line 3

def message
  @message
end

#target_item_relationsObject (readonly)

Returns the value of attribute target_item_relations

Returns:

  • (Object)

    the current value of target_item_relations



3
4
5
# File 'app/services/item/copy_related_items_from_siblings.rb', line 3

def target_item_relations
  @target_item_relations
end