Class: QRPC::Protocol::Abstract
- Inherits:
-
Object
- Object
- QRPC::Protocol::Abstract
- Defined in:
- lib/qrpc/protocol/abstract.rb,
lib/qrpc/protocol/abstract/error.rb,
lib/qrpc/protocol/abstract/object.rb,
lib/qrpc/protocol/abstract/request.rb,
lib/qrpc/protocol/abstract/response.rb
Overview
Abstract protocol implementation.
Defined Under Namespace
Classes: Error, Object, Request, Response
Instance Attribute Summary collapse
-
#options ⇒ Hashie::Mash
Holds general object options.
Instance Method Summary collapse
-
#error ⇒ Class
Returns new error object.
-
#initialize(options = { }) ⇒ Abstract
constructor
abstract
Constructor.
-
#request ⇒ Class
Returns new request object.
-
#response ⇒ Class
Returns new response object.
Constructor Details
Instance Attribute Details
#options ⇒ Hashie::Mash
Holds general object options.
37 38 39 |
# File 'lib/qrpc/protocol/abstract.rb', line 37 def @options end |
Instance Method Details
#error ⇒ Class
Returns new error object.
85 86 87 |
# File 'lib/qrpc/protocol/abstract.rb', line 85 def error __module(:Error) end |
#request ⇒ Class
Returns new request object.
67 68 69 |
# File 'lib/qrpc/protocol/abstract.rb', line 67 def request __module(:Request) end |
#response ⇒ Class
Returns new response object.
76 77 78 |
# File 'lib/qrpc/protocol/abstract.rb', line 76 def response __module(:Response) end |