Class: Krakow::Command::Touch
- Inherits:
-
Krakow::Command
- Object
- Krakow::Command
- Krakow::Command::Touch
- Defined in:
- lib/krakow/command/touch.rb
Overview
Reset timeout for in-flight message
Instance Attribute Summary (collapse)
-
- (Krakow::FrameType) response
inherited
from Krakow::Command
Response to command.
Attributes (collapse)
-
- (String) message_id
The message_id attribute.
-
- (TrueClass, FalseClass) message_id?
Truthiness of the message_id attribute.
Class Method Summary (collapse)
Instance Method Summary (collapse)
Instance Attribute Details
- (Krakow::FrameType) response Originally defined in class Krakow::Command
Returns response to command
Class Method Details
+ (Object) error
24 25 26 |
# File 'lib/krakow/command/touch.rb', line 24 def error %w(E_INVALID E_TOUCH_FAILED) end |
Instance Method Details
- (String) message_id
Returns the message_id attribute
15 |
# File 'lib/krakow/command/touch.rb', line 15 attribute :message_id, String, :required => true |
- (TrueClass, FalseClass) message_id?
Returns truthiness of the message_id attribute
15 |
# File 'lib/krakow/command/touch.rb', line 15 attribute :message_id, String, :required => true |
- (Object) to_line
19 20 21 |
# File 'lib/krakow/command/touch.rb', line 19 def to_line "#{name} #{}\n" end |