Class: Serfx::Response::Header
- Inherits:
-
Struct
- Object
- Struct
- Serfx::Response::Header
- Defined in:
- lib/serfx/response.rb
Overview
Header is composed of two sub-parts
-
Seq : an integer representing the original request
-
Error: a string that represent whether the request made, was successfull or no. For all successful RPC requests, Error should be an empty string
‘0, “Error”: “”`
Instance Attribute Summary collapse
-
#error ⇒ Object
Returns the value of attribute error.
-
#seq ⇒ Object
Returns the value of attribute seq.
Instance Attribute Details
#error ⇒ Object
Returns the value of attribute error
17 18 19 |
# File 'lib/serfx/response.rb', line 17 def error @error end |
#seq ⇒ Object
Returns the value of attribute seq
17 18 19 |
# File 'lib/serfx/response.rb', line 17 def seq @seq end |