Class: TigerBeetle::Request
- Inherits:
-
Struct
- Object
- Struct
- TigerBeetle::Request
- Defined in:
- lib/tigerbeetle/request.rb
Instance Attribute Summary collapse
-
#block ⇒ Object
Returns the value of attribute block.
-
#converter ⇒ Object
Returns the value of attribute converter.
-
#packet ⇒ Object
Returns the value of attribute packet.
Instance Method Summary collapse
-
#initialize(packet, converter, &block) ⇒ Request
constructor
A new instance of Request.
Constructor Details
#initialize(packet, converter, &block) ⇒ Request
Returns a new instance of Request.
3 4 5 |
# File 'lib/tigerbeetle/request.rb', line 3 def initialize(packet, converter, &block) super(packet, converter, block) end |
Instance Attribute Details
#block ⇒ Object
Returns the value of attribute block
2 3 4 |
# File 'lib/tigerbeetle/request.rb', line 2 def block @block end |
#converter ⇒ Object
Returns the value of attribute converter
2 3 4 |
# File 'lib/tigerbeetle/request.rb', line 2 def converter @converter end |
#packet ⇒ Object
Returns the value of attribute packet
2 3 4 |
# File 'lib/tigerbeetle/request.rb', line 2 def packet @packet end |