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

Methods inherited from ExcADG::Request

#to_s

Constructor Details

#initialize(data:) ⇒ Update

Returns a new instance of Update.



39
40
41
42
43
44
# File 'lib/excadg/request.rb', line 39

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

  @data = data
end

Instance Attribute Details

#dataObject (readonly)

Returns the value of attribute data.



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

def data
  @data
end