Class: ExcADG::Request::GetStateData

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

Overview

request to get state data

Instance Attribute Summary collapse

Attributes inherited from ExcADG::Request

#self

Instance Method Summary collapse

Methods inherited from ExcADG::Request

#to_s

Constructor Details

#initialize(deps: nil) ⇒ GetStateData

Returns a new instance of GetStateData.

Parameters:

  • deps (Array) (defaults to: nil)

    of VStateData::Key



25
26
27
28
# File 'lib/excadg/request.rb', line 25

def initialize deps: nil
  super()
  @deps = deps
end

Instance Attribute Details

#depsObject (readonly)

Returns the value of attribute deps.



22
23
24
# File 'lib/excadg/request.rb', line 22

def deps
  @deps
end

Instance Method Details

#filter?Boolean

Returns:

  • (Boolean)


30
31
32
# File 'lib/excadg/request.rb', line 30

def filter?
  !@deps.nil?
end