Class: GQTP::Server::Request
- Inherits:
-
Object
- Object
- GQTP::Server::Request
- Defined in:
- lib/gqtp/server.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
-
#header ⇒ Object
readonly
Returns the value of attribute header.
Instance Method Summary collapse
-
#initialize(header, body) ⇒ Request
constructor
A new instance of Request.
Constructor Details
#initialize(header, body) ⇒ Request
Returns a new instance of Request.
94 95 96 97 |
# File 'lib/gqtp/server.rb', line 94 def initialize(header, body) @header = header @body = body end |
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body.
93 94 95 |
# File 'lib/gqtp/server.rb', line 93 def body @body end |
#header ⇒ Object (readonly)
Returns the value of attribute header.
93 94 95 |
# File 'lib/gqtp/server.rb', line 93 def header @header end |