Class: Item::SpecificationsMasher::Result

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

Overview

Service object: result.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(specifications: nil) ⇒ Result

Returns a new instance of Result.



7
# File 'app/services/item/specifications_masher.rb', line 7

def initialize(specifications: nil) = super

Instance Attribute Details

#specificationsObject (readonly)

Returns the value of attribute specifications

Returns:

  • (Object)

    the current value of specifications



6
7
8
# File 'app/services/item/specifications_masher.rb', line 6

def specifications
  @specifications
end