Class: RKS::Event::Base
- Inherits:
-
Object
- Object
- RKS::Event::Base
- Includes:
- RKS::Event
- Defined in:
- lib/rks/event/base.rb
Instance Attribute Summary collapse
-
#correlation_id ⇒ Object
include RKS::Support::Routable::Endpoint.
-
#payload ⇒ Object
include RKS::Support::Routable::Endpoint.
Instance Method Summary collapse
-
#initialize(args) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(args) ⇒ Base
Returns a new instance of Base.
9 10 11 12 |
# File 'lib/rks/event/base.rb', line 9 def initialize(args) @correlation_id = args[:correlation_id] @payload = args[:payload] end |
Instance Attribute Details
#correlation_id ⇒ Object
include RKS::Support::Routable::Endpoint
7 8 9 |
# File 'lib/rks/event/base.rb', line 7 def correlation_id @correlation_id end |
#payload ⇒ Object
include RKS::Support::Routable::Endpoint
7 8 9 |
# File 'lib/rks/event/base.rb', line 7 def payload @payload end |