Class: YetisNode::BaseTransport
- Inherits:
-
Object
- Object
- YetisNode::BaseTransport
- Defined in:
- lib/yetis_node/base_transport.rb
Direct Known Subclasses
Constant Summary collapse
- DEFAULT_TIMEOUT =
5
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#uri ⇒ Object
readonly
Returns the value of attribute uri.
Instance Method Summary collapse
-
#initialize(uri, options = {}) ⇒ BaseTransport
constructor
A new instance of BaseTransport.
Constructor Details
#initialize(uri, options = {}) ⇒ BaseTransport
Returns a new instance of BaseTransport.
6 7 8 9 |
# File 'lib/yetis_node/base_transport.rb', line 6 def initialize(uri, = {}) @uri = uri @options = end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
3 4 5 |
# File 'lib/yetis_node/base_transport.rb', line 3 def @options end |
#uri ⇒ Object (readonly)
Returns the value of attribute uri.
3 4 5 |
# File 'lib/yetis_node/base_transport.rb', line 3 def uri @uri end |