Class: RKS::Command::Base
- Inherits:
-
Object
- Object
- RKS::Command::Base
- Includes:
- RKS::Command, Support::Configurable
- Defined in:
- lib/rks/command/base.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
Returns the value of attribute args.
-
#correlation_id ⇒ Object
Returns the value of attribute correlation_id.
Instance Method Summary collapse
-
#initialize(_args) ⇒ Base
constructor
A new instance of Base.
Methods included from Support::Concern
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
#args ⇒ Object
Returns the value of attribute args.
7 8 9 |
# File 'lib/rks/command/base.rb', line 7 def args @args end |
#correlation_id ⇒ Object
Returns the value of attribute correlation_id.
7 8 9 |
# File 'lib/rks/command/base.rb', line 7 def correlation_id @correlation_id end |