Class: Krakow::FrameType::Response
- Inherits:
-
Krakow::FrameType
- Object
- Krakow::FrameType
- Krakow::FrameType::Response
- Defined in:
- lib/krakow/frame_type/response.rb
Overview
Response from server
Constant Summary
Constants inherited from Krakow::FrameType
Instance Attribute Summary
Attributes included from Utils::Lazy::InstanceMethods
Attributes collapse
-
#response ⇒ String
The response attribute.
-
#response? ⇒ TrueClass, FalseClass
Truthiness of the response attribute.
Instance Method Summary collapse
-
#content ⇒ String
Content of response.
Methods inherited from Krakow::FrameType
Methods included from Utils::Lazy::ClassMethods
#attribute, #attributes, #set_attributes
Methods included from Utils::Lazy::InstanceMethods
Methods included from Utils::Lazy
Methods included from Utils::Logging
Instance Method Details
#content ⇒ String
Returns content of response.
20 21 22 |
# File 'lib/krakow/frame_type/response.rb', line 20 def content response end |
#response ⇒ String
Returns the response attribute.
15 |
# File 'lib/krakow/frame_type/response.rb', line 15 attribute :response, String, :required => true |
#response? ⇒ TrueClass, FalseClass
Returns truthiness of the response attribute.
15 |
# File 'lib/krakow/frame_type/response.rb', line 15 attribute :response, String, :required => true |