Class: Krakow::FrameType::Response

Inherits:
Krakow::FrameType show all
Defined in:
lib/krakow/frame_type/response.rb

Overview

Response from server

Constant Summary

Instance Attribute Summary (collapse)

Attributes (collapse)

Instance Method Summary (collapse)

Instance Attribute Details

- (Hash) arguments (readonly) Originally defined in module Utils::Lazy::InstanceMethods

Returns argument hash

Returns:

  • (Hash)

    argument hash

Instance Method Details

- (String) content

Returns content of response

Returns:

  • (String)

    content of response



20
21
22
# File 'lib/krakow/frame_type/response.rb', line 20

def content
  response
end

- (String) response

Returns the response attribute

Returns:

  • (String)

    the response attribute



15
# File 'lib/krakow/frame_type/response.rb', line 15

attribute :response, String, :required => true

- (TrueClass, FalseClass) response?

Returns truthiness of the response attribute

Returns:

  • (TrueClass, FalseClass)

    truthiness of the response attribute



15
# File 'lib/krakow/frame_type/response.rb', line 15

attribute :response, String, :required => true