Class: RKS::Command::Base

Inherits:
Object
  • Object
show all
Includes:
RKS::Command, Support::Configurable
Defined in:
lib/rks/command/base.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Support::Concern

#included

Constructor Details

#initialize(_args) ⇒ Base

Returns a new instance of Base.



9
10
11
12
# File 'lib/rks/command/base.rb', line 9

def initialize(_args)
  @correlation_id = _args[:correlation_id]
  @args = _args[:args]
end

Instance Attribute Details

#argsObject

Returns the value of attribute args.



7
8
9
# File 'lib/rks/command/base.rb', line 7

def args
  @args
end

#correlation_idObject

Returns the value of attribute correlation_id.



7
8
9
# File 'lib/rks/command/base.rb', line 7

def correlation_id
  @correlation_id
end