Class: Vertica::Messages::ParameterStatus
- Inherits:
-
BackendMessage
- Object
- Message
- BackendMessage
- Vertica::Messages::ParameterStatus
- Defined in:
- lib/vertica/messages/backend_messages/parameter_status.rb
Constant Summary
Constants inherited from BackendMessage
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(data) ⇒ ParameterStatus
constructor
A new instance of ParameterStatus.
Methods inherited from BackendMessage
Methods inherited from Message
Constructor Details
#initialize(data) ⇒ ParameterStatus
Returns a new instance of ParameterStatus.
8 9 10 |
# File 'lib/vertica/messages/backend_messages/parameter_status.rb', line 8 def initialize(data) @name, @value = data.unpack('Z*Z*') end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
6 7 8 |
# File 'lib/vertica/messages/backend_messages/parameter_status.rb', line 6 def name @name end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
6 7 8 |
# File 'lib/vertica/messages/backend_messages/parameter_status.rb', line 6 def value @value end |