Class: TigerBeetle::Request

Inherits:
Struct
  • Object
show all
Defined in:
lib/tigerbeetle/request.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#blockObject

Returns the value of attribute block

Returns:

  • (Object)

    the current value of block



2
3
4
# File 'lib/tigerbeetle/request.rb', line 2

def block
  @block
end

#converterObject

Returns the value of attribute converter

Returns:

  • (Object)

    the current value of converter



2
3
4
# File 'lib/tigerbeetle/request.rb', line 2

def converter
  @converter
end

#packetObject

Returns the value of attribute packet

Returns:

  • (Object)

    the current value of packet



2
3
4
# File 'lib/tigerbeetle/request.rb', line 2

def packet
  @packet
end