Method: SuccessDefinition#initialize

Defined in:
lib/value_object.rb

#initialize(args) ⇒ SuccessDefinition



25
26
27
28
29
30
# File 'lib/value_object.rb', line 25

def initialize(args)
  obj = OpenStruct.new(args)
  @part = obj.part
   @type = obj.type
   @content = obj.content
end