Class: ExcADG::Request::Update

Inherits:
ExcADG::Request show all
Defined in:
lib/excadg/request.rb

Overview

request to update self state in the central storage

Instance Attribute Summary collapse

Attributes inherited from ExcADG::Request

#self

Instance Method Summary collapse

Constructor Details

#initialize(data:) ⇒ Update

Returns a new instance of Update.



35
36
37
38
39
40
# File 'lib/excadg/request.rb', line 35

def initialize data:
  super()
  Assertions.is_a? data, VStateData::Full

  @data = data
end

Instance Attribute Details

#dataObject (readonly)

Returns the value of attribute data.



33
34
35
# File 'lib/excadg/request.rb', line 33

def data
  @data
end